aboutsummaryrefslogtreecommitdiffstats
path: root/.jenkins
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2017-07-26 21:22:59 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2017-07-26 22:22:59 -0400
commit1750971987b57238b49c2ad15a7126936551a37b (patch)
tree9e7485692be2cee94850cd384f568e5260ba2843 /.jenkins
parentdce57f68d24aaf1d58892c5053441ca1d1ce641f (diff)
downloadcryptography-1750971987b57238b49c2ad15a7126936551a37b.tar.gz
cryptography-1750971987b57238b49c2ad15a7126936551a37b.tar.bz2
cryptography-1750971987b57238b49c2ad15a7126936551a37b.zip
don't re-export the openssl symbols from our shared object (#3825)
When linking the static lib we want the symbols to not be exported. To convince gcc to do this you must pass -Wl,--exclude-libs,ALL in CFLAGS More info at https://stackoverflow.com/questions/2222162
Diffstat (limited to '.jenkins')
-rw-r--r--.jenkins/Jenkinsfile-cryptography-wheel-builder2
1 files changed, 1 insertions, 1 deletions
diff --git a/.jenkins/Jenkinsfile-cryptography-wheel-builder b/.jenkins/Jenkinsfile-cryptography-wheel-builder
index e0ed164c..c59dba66 100644
--- a/.jenkins/Jenkinsfile-cryptography-wheel-builder
+++ b/.jenkins/Jenkinsfile-cryptography-wheel-builder
@@ -136,7 +136,7 @@ def build(version, label, imageName) {
$linux32 /opt/python/$version/bin/pip install cffi six idna asn1crypto ipaddress enum34
LDFLAGS="-L/opt/pyca/cryptography/openssl/lib" \
- CFLAGS="-I/opt/pyca/cryptography/openssl/include" \
+ CFLAGS="-I/opt/pyca/cryptography/openssl/include -Wl,--exclude-libs,ALL" \
$linux32 /opt/python/$version/bin/pip wheel cryptography==$BUILD_VERSION -w tmpwheelhouse/ --no-binary cryptography --no-deps
$linux32 auditwheel repair tmpwheelhouse/cryptography*.whl -w wheelhouse/
$linux32 /opt/python/$version/bin/pip install cryptography==$BUILD_VERSION --no-index -f wheelhouse/