summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury Usishchev <y.usishchev@samsung.com>2014-12-11 18:24:56 (GMT)
committerYury Usishchev <y.usishchev@samsung.com>2014-12-22 17:03:12 (GMT)
commit1585c565595f64b312716f9e0ae248e9c538500d (patch)
treed218d77e426817a1929fbdf9d1bf8b262066ea46
parentb57ef85b60b33c09db747482595f65f601f38a4a (diff)
downloadboost-tizen_3.0.m1_mobile.zip
boost-tizen_3.0.m1_mobile.tar.gz
boost-tizen_3.0.m1_mobile.tar.bz2
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 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