aboutsummaryrefslogtreecommitdiff
path: root/ports/libgcrypt/fix-flags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/libgcrypt/fix-flags.patch')
-rw-r--r--ports/libgcrypt/fix-flags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/libgcrypt/fix-flags.patch b/ports/libgcrypt/fix-flags.patch
new file mode 100644
index 000000000..7ccf41c63
--- /dev/null
+++ b/ports/libgcrypt/fix-flags.patch
@@ -0,0 +1,13 @@
+diff --git a/cipher/Makefile.am b/cipher/Makefile.am
+index 95c4510..d43350c 100644
+--- a/cipher/Makefile.am
++++ b/cipher/Makefile.am
+@@ -112,7 +112,7 @@ gost-sb.h: gost-s-box
+ ./gost-s-box $@
+
+ gost-s-box: gost-s-box.c
+- $(CC_FOR_BUILD) -o $@ $(srcdir)/gost-s-box.c
++ $(CC_FOR_BUILD) $(CFLAGS) -o $@ $(srcdir)/gost-s-box.c
+
+
+ if ENABLE_O_FLAG_MUNGING