diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-18 12:01:16 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-18 12:01:16 +0000 |
commit | 56d7b871078afb2c19999312c7e2024aa994cc77 (patch) | |
tree | d8d1d32bc8ee5253ee253d7ff3cc80019059634e /community/greenbone-security-assistant/001-fortify-source.patch | |
parent | 7d1858623a6fc1f63315ad35bea58c632d58d3d0 (diff) | |
download | aports-56d7b871078afb2c19999312c7e2024aa994cc77.tar.bz2 aports-56d7b871078afb2c19999312c7e2024aa994cc77.tar.xz |
community/greenbone-security-assistant: moved from testing
Diffstat (limited to 'community/greenbone-security-assistant/001-fortify-source.patch')
-rw-r--r-- | community/greenbone-security-assistant/001-fortify-source.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/community/greenbone-security-assistant/001-fortify-source.patch b/community/greenbone-security-assistant/001-fortify-source.patch new file mode 100644 index 0000000000..afd1af231d --- /dev/null +++ b/community/greenbone-security-assistant/001-fortify-source.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 549833c..a4e7882 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -487,7 +487,7 @@ install (FILES ${CMAKE_CURRENT_BINARY_DIR}/zones.xml + + ## Program + +-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") + set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall") |