vcpkg/ports/nettle/flags.patch
Ilya Arzhannikov 47c63128dd
[Nettle] add cflags to build tools (#17421)
* add cflags for build tools

* ./vcpkg x-add-version nettle

Co-authored-by: Ilya Arzhannikov <iarzhannikov@artec3d.com>
2021-04-28 17:35:51 -07:00

14 lines
433 B
Diff

diff --git a/Makefile.in b/Makefile.in
index e5ccfc7..922aa0c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -309,7 +309,7 @@ $(LIBHOGWEED_FORLINK): $(hogweed_OBJS) $(LIBNETTLE_FORLINK)
# For building the various *data.c programs. -lm needed for shadata.
%$(EXEEXT_FOR_BUILD): %.c
- $(CC_FOR_BUILD) $< -lm -o $@
+ $(CC_FOR_BUILD) $< $(CFLAGS) -lm -o $@
# Explicit dependency.
eccdata$(EXEEXT_FOR_BUILD): mini-gmp.c mini-gmp.h