1
0

patch-lib_libdns_Makefile 716 B

1234567891011121314151617181920
  1. --- openswan-2.6.28.orig/lib/libdns/Makefile 2010-07-29 20:45:59.000000000 +0200
  2. +++ openswan-2.6.28/lib/libdns/Makefile 2011-01-21 19:15:22.484901748 +0100
  3. @@ -53,7 +53,7 @@ SRCS += time.c key.c lib.c
  4. programs all: ${LIB}.a
  5. version.o: version.c
  6. - ${LIBTOOL} --mode=compile ${CC} ${ALL_CFLAGS} \
  7. + ${CC} ${CFLAGS} ${ALL_CFLAGS} \
  8. -DVERSION=\"${VERSION}\" \
  9. -DLIBINTERFACE=${LIBINTERFACE} \
  10. -DLIBREVISION=${LIBREVISION} \
  11. @@ -100,7 +100,6 @@ code.h: gen
  12. # this program is to be built on the host, and should not be
  13. # cross-compiled!
  14. -HOSTCC?=cc
  15. gen: gen.c
  16. - ${HOSTCC} ${HOSTCINCLUDES} ${LDFLAGS} -o $@ ${srcdir}gen.c ${LIBS}
  17. + ${CC_FOR_BUILD} ${HOSTCINCLUDES} -o $@ ${srcdir}gen.c ${LIBS}