summaryrefslogtreecommitdiffstats
path: root/net/maradns/patches/001-cross_compile_fix.patch
blob: b25977a38ec3799010e971dbc8d1c1ec4b51409f (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/rng/Makefile
+++ b/rng/Makefile
@@ -25,7 +25,7 @@
 	$(CC) -c $(FLAGS) -o rng-api-fst.o rng-api-fst.c
 
 make_32bit_tables: make_32bit_tables.c
-	$(CC) -o make_32bit_tables make_32bit_tables.c
+	$(HOSTCC) -o make_32bit_tables make_32bit_tables.c
 
 rng-32bit-tables.h: make_32bit_tables
 	./make_32bit_tables > rng-32bit-tables.h