packages/net/maradns/patches/001-cross_compile_fix.patch

14 lines
550 B
Diff
Raw Normal View History

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