summaryrefslogtreecommitdiff
path: root/package/maradns/patches/cross-compile-fix.patch
blob: 8277956c51164d5beae2b58e1d12aadc03c3fad6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -urN maradns-1.0.26.old/rng/Makefile maradns-1.0.26.dev/rng/Makefile
--- maradns-1.4.03.orig/rng/Makefile	2006-01-02 17:59:33.000000000 +0100
+++ maradns-1.4.03/rng/Makefile	2010-02-06 00:19:48.241836878 +0100
@@ -25,7 +25,7 @@ rng-api-fst.o: rng-alg-fst.o rng-api-fst
 	$(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