summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Kashkarov <m.kashkarov@partner.samsung.com>2018-04-26 10:24:30 (GMT)
committerMikhail Kashkarov <m.kashkarov@partner.samsung.com>2018-04-26 10:38:13 (GMT)
commit4bfbc38c3eda2251f9bb6993ef107189dfb89230 (patch)
tree5d6269d2cb8ef7233c4dcb5e8afc31267829e28f
parentfca2f5021830bf6e501a5f343fb6b434cefaa543 (diff)
downloadboost-sandbox/mkashkarov/no_deprecated_warning.zip
boost-sandbox/mkashkarov/no_deprecated_warning.tar.gz
boost-sandbox/mkashkarov/no_deprecated_warning.tar.bz2
Disable -Wdeprecated-declarations.sandbox/mkashkarov/no_deprecated_warning
-rw-r--r--packaging/boost.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/boost.spec b/packaging/boost.spec
index 9e95342..943e1c8 100644
--- a/packaging/boost.spec
+++ b/packaging/boost.spec
@@ -468,7 +468,7 @@ EOF
# perform the compilation
./b2 %{?_smp_mflags} --prefix=%{_prefix} --libdir=%{_libdir} \
--user-config=./user-config.jam ${CFLAGS:+cflags="$CFLAGS"} \
- ${CXXFLAGS:+cxxflags="$CXXFLAGS"} ${LDFLAGS:+linkflags="$LDFLAGS"}
+ ${CXXFLAGS:+cxxflags="$CXXFLAGS -Wno-deprecated-declarations"} ${LDFLAGS:+linkflags="$LDFLAGS"}
%if %build_docs