diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2018-09-24 12:12:21 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2018-09-24 12:12:24 +0200 |
commit | cd16cece1112e5c1372e418adcdcf1a68a5d71ba (patch) | |
tree | 9b9113e8e862d6e23d45af07099bac5524943423 /build.macros.in | |
parent | f65a36f324313a2166843acfa38577e3bba800d6 (diff) | |
download | rpm-setup-cd16cece1112e5c1372e418adcdcf1a68a5d71ba.tar rpm-setup-cd16cece1112e5c1372e418adcdcf1a68a5d71ba.tar.gz rpm-setup-cd16cece1112e5c1372e418adcdcf1a68a5d71ba.tar.bz2 rpm-setup-cd16cece1112e5c1372e418adcdcf1a68a5d71ba.tar.xz rpm-setup-cd16cece1112e5c1372e418adcdcf1a68a5d71ba.zip |
sync comment with FC
Diffstat (limited to 'build.macros.in')
-rw-r--r-- | build.macros.in | 9 |
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 |