diff --git a/yoshimi-cflags.patch b/yoshimi-cflags.patch index df7a981..9f60f87 100644 --- a/yoshimi-cflags.patch +++ b/yoshimi-cflags.patch @@ -12,19 +12,19 @@ set (FifoDirectory /dev/shm CACHE STRING "Directory for fifos") set (BuildOptions_x86_64AMD -- "-O3 -march=athlon64 -m64 -Wall -ffast-math -fno-finite-math-only -fomit-frame-pointer -ldl" +- "-O3 -march=athlon64 -m64 -Wall -ffast-math -fno-finite-math-only -fomit-frame-pointer" + ${CMAKE_C_FLAGS} CACHE STRING "X86_64 compiler options" ) set (BuildOptions_X86_64Core2 -- "-O3 -march=core2 -m64 -Wall -ffast-math -fno-finite-math-only -fomit-frame-pointer -ldl" +- "-O3 -march=core2 -m64 -Wall -ffast-math -fno-finite-math-only -fomit-frame-pointer" + ${CMAKE_C_FLAGS} CACHE STRING "X86_64 compiler options" ) set (BuildOptionsBasic -- "-O3 -msse -msse2 -mfpmath=sse -ffast-math -fomit-frame-pointer -ldl" +- "-O3 -msse -msse2 -mfpmath=sse -ffast-math -fomit-frame-pointer" - CACHE STRING "basic X86 complier options" + ${CMAKE_C_FLAGS} + CACHE STRING "basic X86 complier options"