summaryrefslogtreecommitdiffhomepage
path: root/userconfig-sthalik@Windows-GNU.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-18 21:27:50 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-18 21:27:50 +0100
commitc16d86dcb5f13839fefdd98c0c59bc9a5d9840e2 (patch)
tree6b043a90be06b3339361becab842dab5f1ee1b81 /userconfig-sthalik@Windows-GNU.cmake
parent98fb8aec8d1ba98342488096d1a2fcb3d58d9462 (diff)
cmake: fix gcc lto odr warnings
Diffstat (limited to 'userconfig-sthalik@Windows-GNU.cmake')
-rw-r--r--userconfig-sthalik@Windows-GNU.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/userconfig-sthalik@Windows-GNU.cmake b/userconfig-sthalik@Windows-GNU.cmake
index 0eb0b974..7495d3f9 100644
--- a/userconfig-sthalik@Windows-GNU.cmake
+++ b/userconfig-sthalik@Windows-GNU.cmake
@@ -55,7 +55,7 @@ function(fm-userconfig-src)
-Wall -Wextra -Wpedantic -Wno-old-style-cast -Wno-padded
-fconcepts-diagnostics-depth=2
)
- add_compile_options(-Wno-lto-type-mismatch -Wno-odr)
+ add_link_options(-Wno-lto-type-mismatch -Wno-odr)
add_compile_options(
#-Wno-c++20-compat
-Wno-switch-enum