diff options
-rw-r--r-- | packaging/boost.spec | 4 |
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 |