aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2023-11-21 11:33:41 +0200
committerJani Välimaa <wally@mageia.org>2023-11-21 11:33:41 +0200
commitf7d11a5ec75c18489c1b50b2e05c383e211d5a64 (patch)
treec2eb0983eccc35d2d5d2b3eafa9ae2b46d6daf16
parent8d00754229423723a6ce256608eb793ca4766ea7 (diff)
downloadrpm-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--NEWS1
-rw-r--r--macros.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 227afd1..4a0fcc4 100644
--- a/NEWS
+++ b/NEWS
@@ -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
diff --git a/macros.in b/macros.in
index 5c55eb3..d257826 100644
--- a/macros.in
+++ b/macros.in
@@ -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