[evolution/gnome-40] eds-M!68 - SetupBuildFlags.cmake: Correct testing of two compiler/linker build flags
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-40] eds-M!68 - SetupBuildFlags.cmake: Correct testing of two compiler/linker build flags
- Date: Mon, 19 Apr 2021 15:10:10 +0000 (UTC)
commit ead95d025874c4f694411dc883cbf1372cf773b8
Author: Matt Turner <mattst88 gmail com>
Date: Fri Apr 16 21:03:33 2021 -0400
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
cmake/modules/SetupBuildFlags.cmake | 4 ++--
1 file 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]