Re: [arch-general] Removing compiler flag from CMake output

2014-10-10 Thread Marcel Korpel
* Delcypher (Thu, 9 Oct 2014 15:26:57 +0100): > Regardless of that there are several ways of specifying flags. It can > be done at the target level (e.g. target_compile_definitions(mylib > COMPILE_OPTIONS ...) ) or globally using CMAKE_CXX_FLAGS_*. There are > several flags for different release t

Re: [arch-general] Removing compiler flag from CMake output

2014-10-09 Thread Delcypher
> How do I remove that compiler flag from CMake output? > > I already tried adding -frtti to CXXFLAGS in makepkg.conf, but this > didn't change the compiler flags. I also tried to add it as an > environment variable to the cmake call in PKGBUILD and add a > > set(CMAKE_CXX_FLAGS "-frtti") That isn