cross-compile-fix.patch 843 B

1234567891011121314151617181920
  1. diff -urN maradns-1.0.26.old/rng/Makefile maradns-1.0.26.dev/rng/Makefile
  2. --- maradns-1.4.05.orig/rng/Makefile 2006-01-02 17:59:33.000000000 +0100
  3. +++ maradns-1.4.05/rng/Makefile 2011-01-21 16:47:29.318658272 +0100
  4. @@ -19,13 +19,13 @@ superclean:
  5. rm -f $(ROBJECTS) core make_32bit_tables $(TABLES)
  6. rng-alg-fst.o: rng-alg-fst.c rng-alg-fst.h $(TABLES)
  7. - $(CC) -c $(FLAGS) -o rng-alg-fst.o rng-alg-fst.c
  8. + $(CC) -c $(CFLAGS) -o rng-alg-fst.o rng-alg-fst.c
  9. rng-api-fst.o: rng-alg-fst.o rng-api-fst.h
  10. - $(CC) -c $(FLAGS) -o rng-api-fst.o rng-api-fst.c
  11. + $(CC) -c $(CFLAGS) -o rng-api-fst.o rng-api-fst.c
  12. make_32bit_tables: make_32bit_tables.c
  13. - $(CC) -o make_32bit_tables make_32bit_tables.c
  14. + $(CC_FOR_BUILD) -o make_32bit_tables make_32bit_tables.c
  15. rng-32bit-tables.h: make_32bit_tables
  16. ./make_32bit_tables > rng-32bit-tables.h