From 4e85fa5fcca3b13ad0103faaffd50213203779d8 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 7 Jan 2008 17:34:01 +0000 Subject: 1.68: do not use ssp_flags on archs which do not handle it (thanks to rtp) --- macros.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'macros.in') diff --git a/macros.in b/macros.in index b537db5..a8d91d3 100644 --- a/macros.in +++ b/macros.in @@ -86,7 +86,8 @@ Group: %{group}\ %_fortify_cflags -Wp,-D_FORTIFY_SOURCE=2 %_serverbuild_flags %nil %_ssp_cflags -fstack-protector --param=ssp-buffer-size=4 %{?_serverbuild_flags} -%__common_cflags -O2 %{debugcflags} -pipe %{?_fortify_cflags} %{?_ssp_cflags} -fexceptions +%__common_cflags -O2 %{debugcflags} -pipe %{?_fortify_cflags} -fexceptions +%__common_cflags_with_ssp %{__common_cflags} %{?_ssp_cflags} #============================================================================== # ---- Optional rpmrc macros. -- cgit v1.2.1