Add -z relro
This commit is contained in:
parent
d8bfddbf7e
commit
60aea2849e
2
macros
2
macros
@ -183,7 +183,7 @@ unset DISPLAY\
|
|||||||
%__find_provides /usr/lib/rpm/redhat/find-provides
|
%__find_provides /usr/lib/rpm/redhat/find-provides
|
||||||
%__find_requires /usr/lib/rpm/redhat/find-requires
|
%__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).
|
# Use these macros to differentiate between RH and other KMP implementation(s).
|
||||||
redhat_kernel_module_package 1
|
redhat_kernel_module_package 1
|
||||||
|
Loading…
Reference in New Issue
Block a user