Remove fortify patch
This commit is contained in:
parent
19ab5a5ed6
commit
ad9c24ebe7
|
|
@ -1,17 +0,0 @@
|
||||||
Description: Add FORTIFY_SOURCE flag directly in Makefile
|
|
||||||
The flag, otherwise, doesn't seem to propogate correctly to all
|
|
||||||
modules built by the project.
|
|
||||||
Author: Alan M Varghese
|
|
||||||
Last-Update: 2024-03-01
|
|
||||||
Forwarded: not-needed
|
|
||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -88,7 +88,7 @@
|
|
||||||
"protocols/")
|
|
||||||
set(CMAKE_CXX_STANDARD 23)
|
|
||||||
add_compile_definitions(WLR_USE_UNSTABLE)
|
|
||||||
-add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith)
|
|
||||||
+add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -D_FORTIFY_SOURCE=2)
|
|
||||||
add_link_options(-rdynamic)
|
|
||||||
set(CMAKE_ENABLE_EXPORTS TRUE)
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue