cross-compile-fix.patch 553 B

123456789101112
  1. diff -urN maradns-1.0.26.old/rng/Makefile maradns-1.0.26.dev/rng/Makefile
  2. --- maradns-1.4.03.orig/rng/Makefile 2006-01-02 17:59:33.000000000 +0100
  3. +++ maradns-1.4.03/rng/Makefile 2010-02-06 00:19:48.241836878 +0100
  4. @@ -25,7 +25,7 @@ rng-api-fst.o: rng-alg-fst.o rng-api-fst
  5. $(CC) -c $(FLAGS) -o rng-api-fst.o rng-api-fst.c
  6. make_32bit_tables: make_32bit_tables.c
  7. - $(CC) -o make_32bit_tables make_32bit_tables.c
  8. + $(HOSTCC) -o make_32bit_tables make_32bit_tables.c
  9. rng-32bit-tables.h: make_32bit_tables
  10. ./make_32bit_tables > rng-32bit-tables.h