92e492
diff -up redhat-rpm-config-9.1.0/macros.jx redhat-rpm-config-9.1.0/macros
8e60e5
--- redhat-rpm-config-9.1.0/macros.jx	2011-07-07 13:10:18.000000000 -0400
8e60e5
+++ redhat-rpm-config-9.1.0/macros	2011-07-07 13:12:00.299594529 -0400
8e60e5
@@ -31,6 +31,7 @@
8e60e5
   CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
8e60e5
   CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
8e60e5
   FFLAGS="${FFLAGS:-%optflags -I%_fmoddir}" ; export FFLAGS ; \
8e60e5
+  LDFLAGS="${LDFLAGS:-%__global_ldflags}"; export LDFLAGS; \
8e60e5
   %{_configure} --build=%{_build} --host=%{_host} \\\
8e60e5
 	--program-prefix=%{?_program_prefix} \\\
8e60e5
 	--disable-dependency-tracking \\\
8e60e5
@@ -184,6 +185,7 @@ unset DISPLAY\
92e492
 %__find_requires        /usr/lib/rpm/redhat/find-requires
92e492
 
8e60e5
 %__global_cflags	-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4
8e60e5
+%__global_ldflags	-Wl,-z,relro
92e492
 
92e492
 # Use these macros to differentiate between RH and other KMP implementation(s).
92e492
 redhat_kernel_module_package	1