cross-compile-fix.patch 515 B

123456789101112
  1. diff -urN maradns-1.0.26.old/rng/Makefile maradns-1.0.26.dev/rng/Makefile
  2. --- maradns-1.0.26.old/rng/Makefile 2003-08-02 21:39:36.000000000 +0200
  3. +++ maradns-1.0.26.dev/rng/Makefile 2005-04-30 23:29:30.000000000 +0200
  4. @@ -20,7 +20,7 @@
  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