From 1585c565595f64b312716f9e0ae248e9c538500d Mon Sep 17 00:00:00 2001 From: Yury Usishchev Date: Thu, 11 Dec 2014 21:24:56 +0300 Subject: [PATCH] Do not ignore global CFLAGS, CXXFLAGS and LDFLAGS Change-Id: Ib83e94a44c5539dd056a0740673cb6d6293845b4 Signed-off-by: Yury Usishchev --- packaging/boost.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packaging/boost.spec b/packaging/boost.spec index ac3ddd1..e0aad2c 100644 --- a/packaging/boost.spec +++ b/packaging/boost.spec @@ -429,7 +429,9 @@ EOF # perform the compilation ./b2 %{?_smp_mflags} --prefix=%{_prefix} --libdir=%{_libdir} \ - --user-config=./user-config.jam + --user-config=./user-config.jam ${CFLAGS:+cflags="$CFLAGS"} \ + ${CXXFLAGS:+cxxflags="$CXXFLAGS"} ${LDFLAGS:+linkflags="$LDFLAGS"} + %if %build_docs cd doc -- 2.7.4