Skip to content

Commit

Permalink
gcc_128 flag
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyEnr1quez committed Nov 3, 2020
1 parent afb736e commit f68aca2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion stubby/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ RUN set -e -x && \
gpg --batch --verify openssl.tar.gz.asc openssl.tar.gz && \
tar xzf openssl.tar.gz && \
cd "${VERSION_OPENSSL}" && \
/bin/sh -c 'if gcc -dM -E - </dev/null | grep -q __SIZEOF_INT128__; then export ECFLAG="enable-ec_nistp_64_gcc_128"; else export ECFLAG=""; fi' && \
./config \
-Wl,-rpath=/opt/openssl/lib \
--prefix=/opt/openssl \
--openssldir=/opt/openssl \
enable-ec_nistp_64_gcc_128 \
$ECFLAG \
-DOPENSSL_NO_HEARTBEATS \
no-weak-ssl-ciphers \
no-ssl2 \
Expand Down
3 changes: 2 additions & 1 deletion unbound/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@ RUN set -e -x && \
gpg --batch --verify openssl.tar.gz.asc openssl.tar.gz && \
tar xzf openssl.tar.gz && \
cd $VERSION_OPENSSL && \
/bin/sh -c 'if gcc -dM -E - </dev/null | grep -q __SIZEOF_INT128__; then export ECFLAG="enable-ec_nistp_64_gcc_128"; else export ECFLAG=""; fi' && \
./config \
--prefix=/opt/openssl \
--openssldir=/opt/openssl \
no-weak-ssl-ciphers \
no-ssl3 \
no-shared \
enable-ec_nistp_64_gcc_128 \
$ECFLAG \
-DOPENSSL_NO_HEARTBEATS \
-fstack-protector-strong && \
make depend && \
Expand Down

0 comments on commit f68aca2

Please sign in to comment.