summaryrefslogtreecommitdiffstats
path: root/crypto/twofish-py/PRE_BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/twofish-py/PRE_BUILD')
-rwxr-xr-xcrypto/twofish-py/PRE_BUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/twofish-py/PRE_BUILD b/crypto/twofish-py/PRE_BUILD
index 0766009f98..134b6361a7 100755
--- a/crypto/twofish-py/PRE_BUILD
+++ b/crypto/twofish-py/PRE_BUILD
@@ -3,5 +3,6 @@ cd "$SOURCE_DIRECTORY" &&
autoconf &&
-sed -i "s:*.py:*.py *.pyc *.pyo:;s:-g:-g -fPIC:g" Makefile.in &&
+sed -i "s:*.py:*.py *.pyc *.pyo:;s:-g:${CFLAGS} -fPIC:g;s:-E:-E ${LDFLAGS}:g" \
+ Makefile.in &&
sed -i "s:Objects\: :Objects\:\\\n\\\:" twofishmodule.c