From 60aea2849edcda01b4555080d0821faa4b55a28b Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 27 Jun 2011 12:40:49 -0400 Subject: [PATCH] Add -z relro --- macros | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros b/macros index 1ac46d7..d95b614 100644 --- a/macros +++ b/macros @@ -183,7 +183,7 @@ unset DISPLAY\ %__find_provides /usr/lib/rpm/redhat/find-provides %__find_requires /usr/lib/rpm/redhat/find-requires -%__global_cflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 +%__global_cflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wl,-z,relro # Use these macros to differentiate between RH and other KMP implementation(s). redhat_kernel_module_package 1