From b9eb0a184ba1aaf3f2ac034b894384a81c766504 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Mon, 22 Apr 2013 13:20:19 +0300 Subject: [PATCH] - Add -grecord-gcc-switches to global CFLAGS (#951669) --- macros | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros b/macros index 86d75e4..5fdf2bb 100644 --- a/macros +++ b/macros @@ -171,7 +171,7 @@ package or when debugging this package.\ %_hardened_cflags %{?_hardened_build:%{_hardening_cflags}} %_hardened_ldflags %{?_hardened_build:%{_hardening_ldflags}} -%__global_cflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 %{_hardened_cflags} +%__global_cflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches %{_hardened_cflags} %__global_ldflags -Wl,-z,relro %{_hardened_ldflags} # Use these macros to differentiate between RH and other KMP implementation(s).