From 3fa068b2acd8650ab6ee8214602467f8421f7689 Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Sun, 5 Mar 2006 01:58:16 +0000 Subject: - add a way to disable fortify from cflags as it cause some issue in some software --- macros.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- cgit v1.2.1