Adjust build flags inheritence from redhat-rpm-config

This commit is contained in:
Florian Weimer 2018-06-01 12:10:16 +02:00
parent a747c093bb
commit 9f8b04ee49

View File

@ -724,9 +724,8 @@ rpm_inherit_flags ()
# Propgate select compiler flags from redhat-rpm-config. These flags # Propgate select compiler flags from redhat-rpm-config. These flags
# are target-dependent, so we use only those which are specified in # are target-dependent, so we use only those which are specified in
# redhat-rpm-config. We do not replicate the -march=/-mtune= # redhat-rpm-config. We keep the -m32/-m32/-m64 flags to support
# selection here because these match the defaults compiled into GCC. # multilib builds.
# We keep the -m32/-m32/-m64 flags to support multilib builds.
rpm_inherit_flags \ rpm_inherit_flags \
"-fasynchronous-unwind-tables" \ "-fasynchronous-unwind-tables" \
@ -735,7 +734,17 @@ rpm_inherit_flags \
"-m31" \ "-m31" \
"-m32" \ "-m32" \
"-m64" \ "-m64" \
"-march=i686" \
"-march=x86-64" \
"-march=z13" \
"-march=z14" \
"-march=zEC12" \
"-mfpmath=sse" \
"-mstackrealign" \ "-mstackrealign" \
"-mtune=generic" \
"-mtune=z13" \
"-mtune=z14" \
"-mtune=zEC12" \
"-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" \ "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" \
############################################################################## ##############################################################################