vcpkg/ports/libgcrypt/fix-flags.patch
Ilya Arzhannikov bede80d499
Libgcrypt add cflags to tool build command (#17021)
* libgcrypt add cflags to tool build command

* x-add-version libgcrypt

Co-authored-by: Ilya Arzhannikov <iarzhannikov@artec3d.com>
2021-04-07 13:09:17 -07:00

14 lines
355 B
Diff

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