diff options
author | Matt Turner <mattst88@gmail.com> | 2021-04-16 21:03:33 -0400 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2021-04-19 16:03:55 +0200 |
commit | ed89af2702cf3e0681cbd44aef3dd50abda418c5 (patch) | |
tree | aece586074202d1b9431cd90af1b3f8dd059a662 /cmake | |
parent | 21c8885d9f731ab9107f7423fcf2bdc62eeb4f71 (diff) | |
download | evolution-ed89af2702cf3e0681cbd44aef3dd50abda418c5.tar.gz |
eds-M!68 - SetupBuildFlags.cmake: Correct testing of two compiler/linker build flags
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/68
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/SetupBuildFlags.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/SetupBuildFlags.cmake b/cmake/modules/SetupBuildFlags.cmake index d5ce5f3c5e..f67f8a544a 100644 --- a/cmake/modules/SetupBuildFlags.cmake +++ b/cmake/modules/SetupBuildFlags.cmake @@ -20,7 +20,7 @@ macro(setup_build_flags _maintainer_mode) -Wundef -Wwrite-strings -Wno-cast-function-type - -no-undefined + -Wl,--no-undefined -fno-strict-aliasing ) @@ -34,7 +34,7 @@ macro(setup_build_flags _maintainer_mode) else(${_maintainer_mode}) list(APPEND proposed_flags -Wno-deprecated-declarations - -Wno-missing-include-dir) + -Wno-missing-include-dirs) endif(${_maintainer_mode}) list(APPEND proposed_c_flags |