openAVproductions / openAV-ArtyFX

A repository for the ArtyFX plugin bundle
GNU General Public License v2.0
81 stars 19 forks source link

build flags from environment ignored #26

Closed falkTX closed 7 years ago

falkTX commented 7 years ago

(also, building with SSE removes the previous flags)

when you use cmake, please do not use this: SET(CMAKE_C_FLAGS "-msse2 -mfpmath=sse") use this instead: SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse2 -mfpmath=sse")

because of this at the moment artyfx plugins are built without the flags 'g -Wall -O1 -Wno-unused-variable' that you even set on your file, because SSE is enabled by default and overrides previous flags.

the same happens with the linker flags.

harryhaaren commented 7 years ago

Thanks @falkTX, I'll fix them when I'm on the dev machine.