Skip to content

Commit

Permalink
Boost build: cflags='-fPIC'
Browse files Browse the repository at this point in the history
  • Loading branch information
hombit committed Dec 31, 2021
1 parent 0c141f4 commit 11c4e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.python
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN curl -LO https://boostorg.jfrog.io/artifactory/main/release/${BOOST_VERSION}
&& echo "using python : 3.8 : /opt/python/cp38-cp38/bin/python : /opt/python/cp38-cp38/include/python3.8 : /opt/python/cp38-cp38/lib ;" >> tools/build/src/user-config.jam \
&& echo "using python : 3.9 : /opt/python/cp39-cp39/bin/python : /opt/python/cp39-cp39/include/python3.9 : /opt/python/cp39-cp39/lib ;" >> tools/build/src/user-config.jam \
&& echo "using python : 3.10 : /opt/python/cp310-cp310/bin/python : /opt/python/cp310-cp310/include/python3.10 : /opt/python/cp310-cp310/lib ;" >> tools/build/src/user-config.jam \
&& ./b2 -d+2 python=3.7,3.8,3.9,3.10 link=static cxxflags="-fPIC" install \
&& ./b2 -d+2 python=3.7,3.8,3.9,3.10 link=static cflags="-fPIC" cxxflags="-fPIC" install \
&& cd / \
&& rm -rf /boost_${BOOST_VERSION_}

Expand Down

0 comments on commit 11c4e2c

Please sign in to comment.