]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- add -Werror=trampoline to prevent GCC from generating code that require executable...
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 30 Oct 2018 21:05:59 +0000 (22:05 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 30 Oct 2018 21:05:59 +0000 (22:05 +0100)
macros.pld.in

index 326b00b546611ca5c0ff91d7ef03e2336970c41e..81a08b2412a0a3c5e887c678ff286f1a7437d2d9 100644 (file)
@@ -179,7 +179,8 @@ pakietu oraz przy odpluskwianiu samego pakietu.\
 # cf http://wiki.mandriva.com/en/Development/Packaging/Problems#format_not_a_string_literal_and_no_format_arguments
 %Werror_cflags         -Wformat -Werror=format-security
 
-%_ssp_cflags           -fstack-protector-strong --param=ssp-buffer-size=4
+# Use -Werror=trampoline to prevent GCC from generating code that require executable stack
+%_ssp_cflags           -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampoline
 %__common_cflags       -O2 -fwrapv -pipe %{Werror_cflags} %{debuginfocflags} %{?_fortify_cflags} %{!?nospecflags:%{?specflags}}
 %__common_cflags_with_ssp      %{__common_cflags} %{?_ssp_cflags}
 
This page took 0.098456 seconds and 4 git commands to generate.