diff options
author | Jani Välimaa <wally@mageia.org> | 2023-11-21 11:33:41 +0200 |
---|---|---|
committer | Jani Välimaa <wally@mageia.org> | 2023-11-21 11:33:41 +0200 |
commit | f7d11a5ec75c18489c1b50b2e05c383e211d5a64 (patch) | |
tree | c2eb0983eccc35d2d5d2b3eafa9ae2b46d6daf16 | |
parent | 8d00754229423723a6ce256608eb793ca4766ea7 (diff) | |
download | rpm-setup-f7d11a5ec75c18489c1b50b2e05c383e211d5a64.tar rpm-setup-f7d11a5ec75c18489c1b50b2e05c383e211d5a64.tar.gz rpm-setup-f7d11a5ec75c18489c1b50b2e05c383e211d5a64.tar.bz2 rpm-setup-f7d11a5ec75c18489c1b50b2e05c383e211d5a64.tar.xz rpm-setup-f7d11a5ec75c18489c1b50b2e05c383e211d5a64.zip |
macros: include RUSTFLAGS in %set_build_flags (rhbz#2167183)
Include RUSTFLAGS in %set_build_flags
Resolves: https://bugzilla.redhat.com/2167183
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | macros.in | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -1,3 +1,4 @@ +- macros: include RUSTFLAGS in %set_build_flags - macros: set -g when building Vala applications - macros: make _FORTIFY_SOURCE flags configurable via %_fortify_level variable - macros: undefine _FORTIFY_SOURCE before defining it to avoid build warnings on some packages defining it already @@ -234,6 +234,7 @@ GCONF_CONFIG_SOURCE=`%{_gconftool_bin} --get-default-source` %{_gconftool_bin} - FFLAGS="${FFLAGS:-%{build_fflags}}" ; export FFLAGS ; \ FCFLAGS="${FCFLAGS:-%{build_fflags}}" ; export FCFLAGS ; \ VALAFLAGS="${VALAFLAGS:-%{build_valaflags}}" ; export VALAFLAGS ; \ + RUSTFLAGS="${RUSTFLAGS:-%{build_rustflags}}" ; export RUSTFLAGS ; \ LDFLAGS="${LDFLAGS:-%{build_ldflags}}" ; export LDFLAGS ; \ LT_SYS_LIBRARY_PATH="${LT_SYS_LIBRARY_PATH:-%_libdir:}" ; export LT_SYS_LIBRARY_PATH |