aboutsummaryrefslogtreecommitdiffstats
path: root/macros.in
diff options
context:
space:
mode:
Diffstat (limited to 'macros.in')
-rw-r--r--macros.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/macros.in b/macros.in
index 06a52b6..7294a4c 100644
--- a/macros.in
+++ b/macros.in
@@ -65,6 +65,9 @@
%ix86 i386 i486 i586 i686 pentium3 pentium4 athlon k6
+# common compilation flags
+%__common_cflags -O2 %{debugcflags} -pipe -Wp,-D_FORTIFY_SOURCE=2
+
#==============================================================================
# ---- Optional rpmrc macros.
# Macros that are initialized as a side effect of rpmrc and/or spec