aboutsummaryrefslogtreecommitdiff
path: root/ports/nettle/flags.patch
blob: 990bd6d3e2ddc3cbc44d506fe7d24a2f3cae0935 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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