aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2018-09-24 10:12:21 (GMT)
committerThierry Vignaud <thierry.vignaud@gmail.com>2018-09-24 10:12:24 (GMT)
commitcd16cece1112e5c1372e418adcdcf1a68a5d71ba (patch)
tree9b9113e8e862d6e23d45af07099bac5524943423
parentf65a36f324313a2166843acfa38577e3bba800d6 (diff)
sync comment with FC
-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