aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.macros.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/build.macros.in b/build.macros.in
index 1db4757..254165d 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -176,9 +176,14 @@ GCONF_CONFIG_SOURCE=`%{_gconftool_bin} --get-default-source` %{_gconftool_bin} -
# '%{version}-%{release}', ie. to automatically add distepoch or epoch if present
%EVRD %{?epoch:%{epoch}:}%{?version:%{version}}%{?release:-%{release}}%{?distepoch::%{distepoch}}
-%debugcflags %{?_enable_debug_packages:-g}
+#==============================================================================
+# ---- compiler flags.
-# common compilation flags
+# C compiler flags. This is traditionally called CFLAGS in makefiles.
+# Historically also available as %%{optflags}, and %%build sets the
+# environment variable RPM_OPT_FLAGS to this value.
+
+%debugcflags %{?_enable_debug_packages:-g}
%_fortify_cflags -Wp,-D_FORTIFY_SOURCE=2