Ok, and how about changing cmake to:

set ( CMAKE_C_FLAGS_RELEASE "-std=gnu89 -O2  ...  ${CMAKE_C_FLAGS_RELEASE}" )

Any reason not to do that?


Tom


Am Freitag, 24. November 2017, 18:03:58 CET schrieb Marcus Weseloh:
> 2017-11-24 17:37 GMT+01:00 Tom M. <tom.m...@googlemail.com>:
> 
> 
> > So as it seems CMAKE_C_FLAGS is prepended rather than appended.
> 
> 
> Yes, and that is the problem. I would like to change the optimization to
> -O3. But RELEASE flags set -O2 and overwrites my -O3 again. Hm... so it
> seems like I have no choice but to patch the CMakeLists.txt file in my
> build-process.
> 
> Cheers,
> 
>     Marcus
> 



_______________________________________________
fluid-dev mailing list
fluid-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fluid-dev

Reply via email to