patch-deadwood-3_2_05_src_Makefile_ipv6 825 B

12345678910111213141516171819202122
  1. - set HOSTCC to the right value for OpenADK
  2. - maradns, y u no use HOSTCC when appropriate?!
  3. --- maradns-2.0.09.orig/deadwood-3.2.05/src/Makefile.ipv6 2012-12-20 19:30:37.000000000 +0100
  4. +++ maradns-2.0.09/deadwood-3.2.05/src/Makefile.ipv6 2014-06-30 05:20:02.061294221 +0200
  5. @@ -5,7 +5,7 @@
  6. # compiling. When cross-compiling, we still need to compile and
  7. # run programs on the build machine, so change the next line when
  8. # cross-compiling.
  9. -HOSTCC=$(CC)
  10. +HOSTCC=$(CC_FOR_BUILD)
  11. OBJS=DwStr.o \
  12. DwMararc.o \
  13. @@ -68,7 +68,7 @@ DwSys.o: DwSys.c DwStr.h
  14. $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwSys.o DwSys.c
  15. RandomPrime: RandomPrime.c
  16. - $(CC) -O3 -o RandomPrime RandomPrime.c
  17. + $(HOSTCC) -O3 -o RandomPrime RandomPrime.c
  18. DwRandPrime.h: RandomPrime
  19. if [ -e /dev/urandom ] ; then ./RandomPrime > DwRandPrime.h ; fi