vcpkg/ports/libassuan/fix-flags.patch
Ilya Arzhannikov d32e92dd16
[Libassuan] Add cflags to tool build command (#17020)
* add patch with cflags added to tool command

* x-add-version libassuan

Co-authored-by: Ilya Arzhannikov <iarzhannikov@artec3d.com>
2021-04-30 11:32:35 -07:00

14 lines
435 B
Diff

diff --git a/src/Makefile.am b/src/Makefile.am
index 089bc97..2d31b6a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -149,7 +149,7 @@ install-exec-hook:
endif
mkheader: mkheader.c Makefile
- $(CC_FOR_BUILD) -I. -I$(srcdir) -o $@ $(srcdir)/mkheader.c
+ $(CC_FOR_BUILD) -I. -I$(srcdir) $(CFLAGS) -o $@ $(srcdir)/mkheader.c
assuan.h: assuan.h.in mkheader $(parts_of_assuan_h)
./mkheader $(host_os) $(srcdir)/assuan.h.in \