aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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