commit | 815ad9613f63983284bb86fdd6f27791ac871a86 | [log] [tgz] |
---|---|---|
author | Jakub Hrozek <jakub.hrozek@gmail.com> | Tue Jul 29 10:22:31 2014 +0200 |
committer | Andreas Schneider <asn@cryptomilk.org> | Thu Aug 07 13:35:09 2014 +0200 |
tree | 973401eddfc6b36859135f84f02f3f947148522c | |
parent | 2487f7ad732b7f62605b14a1d9520ff68cb17054 [diff] |
GNU_SOURCE is not a compiler flag This line in DefineCompilerFlags.cmake always passed: check_c_compiler_flag("-D_GNU_SOURCE" WITH_GNU_SOURCE) because -D$string just defined a preprocessor macro, so the compilation would always succeed. On UNIX platforms, with GCC or LLVM compilers, we want to always use GNU_SOURCE.