diff options
| author | Ilya Arzhannikov <iarzhannikov@artec-group.com> | 2021-04-29 02:35:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-28 17:35:51 -0700 |
| commit | 47c63128dd463b206906598b1707556152d8b7da (patch) | |
| tree | 481a3ac4b4f0b097123a6fd7f6a8e7bdda6d8b08 /ports/nettle/flags.patch | |
| parent | 655e1b4dabf4504948518fd0a67a0db76493d6e2 (diff) | |
| download | vcpkg-47c63128dd463b206906598b1707556152d8b7da.tar.gz vcpkg-47c63128dd463b206906598b1707556152d8b7da.zip | |
[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>
Diffstat (limited to 'ports/nettle/flags.patch')
| -rw-r--r-- | ports/nettle/flags.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/nettle/flags.patch b/ports/nettle/flags.patch new file mode 100644 index 000000000..990bd6d3e --- /dev/null +++ b/ports/nettle/flags.patch @@ -0,0 +1,13 @@ +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 |
