bf33dc30e40cf18d9e6b23d5bd42d184d70b4692
[packages.git] / net / maradns / patches / 001-cross_compile_fix.patch
1 Index: maradns-1.2.12.06/rng/Makefile
2 ===================================================================
3 --- maradns-1.2.12.06.orig/rng/Makefile 2007-06-30 14:32:06.000000000 +0200
4 +++ maradns-1.2.12.06/rng/Makefile      2007-06-30 14:32:06.000000000 +0200
5 @@ -25,7 +25,7 @@
6         $(CC) -c $(FLAGS) -o rng-api-fst.o rng-api-fst.c
7  
8  make_32bit_tables: make_32bit_tables.c
9 -       $(CC) -o make_32bit_tables make_32bit_tables.c
10 +       $(HOSTCC) -o make_32bit_tables make_32bit_tables.c
11  
12  rng-32bit-tables.h: make_32bit_tables
13         ./make_32bit_tables > rng-32bit-tables.h