patch-rng_Makefile 531 B

123456789101112
  1. use host compiler to compile table generator
  2. --- maradns-2.0.09.orig/rng/Makefile 2006-01-02 17:59:33.000000000 +0100
  3. +++ maradns-2.0.09/rng/Makefile 2014-06-19 02:40:59.777845739 +0200
  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. + $(CC_FOR_BUILD) -o make_32bit_tables make_32bit_tables.c
  9. rng-32bit-tables.h: make_32bit_tables
  10. ./make_32bit_tables > rng-32bit-tables.h