summaryrefslogtreecommitdiff
path: root/package/openswan/patches/patch-lib_libdns_Makefile_in
blob: dcef159ea9c8aa528ba7d243bf26ca672badb86d (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.in	2010-07-29 20:45:59.000000000 +0200
+++ openswan-2.6.28/lib/libdns/Makefile.in	2011-01-21 19:01:49.208658272 +0100
@@ -103,7 +103,7 @@ DEPENDEXTRA =	./gen -F include/dns/rdata
 @BIND9_MAKE_RULES@
 
 version.@O@: version.c
-	${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
+	${CC} ${CFLAGS} ${ALL_CFLAGS} \
 		-DVERSION=\"${VERSION}\" \
 		-DLIBINTERFACE=${LIBINTERFACE} \
 		-DLIBREVISION=${LIBREVISION} \
@@ -160,7 +160,7 @@ code.h:	gen
 	./gen -s ${srcdir} > code.h
 
 gen: gen.c
-	${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
+	${CC_FOR_BUILD} ${ALL_CFLAGS} ${CFLAGS_FOR_BUILD} -o $@ ${srcdir}/gen.c ${LIBS}
 
 rbtdb64.@O@: rbtdb.c