packages/net/maradns/patches/001-cross_compile_fix.patch
olli 579f2c5ed6 Update maradns: 1.2.12.04 > 1.2.12.06 (#1976)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@7793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 12:41:33 +00:00

14 lines
550 B
Diff

Index: maradns-1.2.12.06/rng/Makefile
===================================================================
--- maradns-1.2.12.06.orig/rng/Makefile 2007-06-30 14:32:06.000000000 +0200
+++ maradns-1.2.12.06/rng/Makefile 2007-06-30 14:32:06.000000000 +0200
@@ -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