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