diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-19 09:35:47 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-19 11:24:37 +0000 |
commit | 0acae5bcf4210c651f8b2884b3afe2919631a56e (patch) | |
tree | df1e860c23d261018dfdc21fcfd29ad34a80969f /community/openvas-libraries/000-fortify-source.patch | |
parent | 9aa7e226c0e2b67540fa9ad3be7030a69d7829c7 (diff) | |
download | aports-0acae5bcf4210c651f8b2884b3afe2919631a56e.tar.bz2 aports-0acae5bcf4210c651f8b2884b3afe2919631a56e.tar.xz |
community/openvas-libraries: moved from testing
Diffstat (limited to 'community/openvas-libraries/000-fortify-source.patch')
-rw-r--r-- | community/openvas-libraries/000-fortify-source.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/community/openvas-libraries/000-fortify-source.patch b/community/openvas-libraries/000-fortify-source.patch new file mode 100644 index 0000000000..26ceb25ca9 --- /dev/null +++ b/community/openvas-libraries/000-fortify-source.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index a85088f..9d47f3a 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -302,7 +302,7 @@ if (NOT MINGW) + + endif (NOT MINGW) + +-set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-z,relro -Wl,-z,now") ++set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-z,relro -Wl,-z,now") + set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Werror") + + |