summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury Usishchev <y.usishchev@samsung.com>2014-12-11 21:24:56 +0300
committerYury Usishchev <y.usishchev@samsung.com>2014-12-22 20:03:12 +0300
commit1585c565595f64b312716f9e0ae248e9c538500d (patch)
treed218d77e426817a1929fbdf9d1bf8b262066ea46
parentb57ef85b60b33c09db747482595f65f601f38a4a (diff)
downloadboost-1585c565595f64b312716f9e0ae248e9c538500d.tar.gz
boost-1585c565595f64b312716f9e0ae248e9c538500d.tar.bz2
boost-1585c565595f64b312716f9e0ae248e9c538500d.zip
Change-Id: Ib83e94a44c5539dd056a0740673cb6d6293845b4 Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
-rw-r--r--packaging/boost.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/packaging/boost.spec b/packaging/boost.spec
index ac3ddd1c19..e0aad2c39a 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