openwrt_archive/net/maradns/patches/001-cross_compile_fix.patch
Florian Fainelli 545368f695 Update maradns to 1.3.07.08 (#3632)
SVN-Revision: 11700
2008-07-06 12:27:44 +00:00

12 lines
335 B
Diff

--- 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