summaryrefslogtreecommitdiffstats
path: root/crypto/gnupg/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/gnupg/BUILD')
-rwxr-xr-xcrypto/gnupg/BUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/gnupg/BUILD b/crypto/gnupg/BUILD
index 7c3b10678d..08fafdc7fc 100755
--- a/crypto/gnupg/BUILD
+++ b/crypto/gnupg/BUILD
@@ -2,4 +2,7 @@ if [[ $GNUPG_STATIC == y ]]; then
LDFLAGS="-static -s $LDFLAGS"
fi &&
+# gnupg doesn't play nice with -O3
+CFLAGS=${CFLAGS//-O3/-O2} &&
+
default_build