From cd16cece1112e5c1372e418adcdcf1a68a5d71ba Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 24 Sep 2018 12:12:21 +0200 Subject: sync comment with FC --- build.macros.in | 9 +++++++-- 1 file 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 -- cgit v1.2.1