diff options
author | Olivier Thauvin <nanardon@mandriva.org> | 2006-03-05 01:58:16 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mandriva.org> | 2006-03-05 01:58:16 +0000 |
commit | 3fa068b2acd8650ab6ee8214602467f8421f7689 (patch) | |
tree | 606f5a176f39d008a33e4a6381dd95f3f54805d3 | |
parent | 4e334f749a8ba5a9631c6f7fc0b1c42a5f9a764e (diff) | |
download | rpm-setup-3fa068b2acd8650ab6ee8214602467f8421f7689.tar rpm-setup-3fa068b2acd8650ab6ee8214602467f8421f7689.tar.gz rpm-setup-3fa068b2acd8650ab6ee8214602467f8421f7689.tar.bz2 rpm-setup-3fa068b2acd8650ab6ee8214602467f8421f7689.tar.xz rpm-setup-3fa068b2acd8650ab6ee8214602467f8421f7689.zip |
- add a way to disable fortify from cflags as it cause some issue in some software
-rw-r--r-- | macros.in | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. |