aboutsummaryrefslogtreecommitdiffstats
path: root/macros.in
diff options
context:
space:
mode:
Diffstat (limited to 'macros.in')
-rw-r--r--macros.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/macros.in b/macros.in
index 4cc9305..9992840 100644
--- a/macros.in
+++ b/macros.in
@@ -68,7 +68,8 @@
%sunsparc sun4 sun4m sun4c sun4d sparc sparcv8 sparcv9 sparc64
# common compilation flags
-%__common_cflags -O2 %{debugcflags} -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
+%_fortify_cflags -Wp,-D_FORTIFY_SOURCE=2
+%__common_cflags -O2 %{debugcflags} -pipe %{?_fortify_cflags:%_fortify_cflags} -fexceptions
#==============================================================================
# ---- Optional rpmrc macros.