Module Name:    src
Committed By:   christos
Date:           Fri Mar  7 18:37:48 UTC 2014

Modified Files:
        src/external/public-domain/sqlite/lib: Makefile

Log Message:
change CC to HOST_CC to avoid trying to find <stdarg.h> in an unpopulated
DSTDIR.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/public-domain/sqlite/lib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/public-domain/sqlite/lib/Makefile
diff -u src/external/public-domain/sqlite/lib/Makefile:1.5 src/external/public-domain/sqlite/lib/Makefile:1.6
--- src/external/public-domain/sqlite/lib/Makefile:1.5	Wed Feb 19 14:29:33 2014
+++ src/external/public-domain/sqlite/lib/Makefile	Fri Mar  7 13:37:48 2014
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2014/02/19 19:29:33 dsl Exp $
+# $NetBSD: Makefile,v 1.6 2014/03/07 18:37:48 christos Exp $
 
 LIB=		sqlite3
 INCS=		sqlite3.h sqlite3ext.h
@@ -23,6 +23,6 @@ dependall: all
 
 sqlite3.pc: ${SRCDIR}/sqlite3.h sqlite3.pc.in
 	@(V=$$( (echo '#include <sqlite3.h>'; echo SQLITE_VERSION) | \
-	    ${CC} -E -I${SRCDIR} - | tail -1 | tr -d '"') && \
+	    ${HOST_CC} -E -I${SRCDIR} - | tail -1 | tr -d '"') && \
 	    ${TOOL_SED} -e s/@VERSION@/$$V/ < ${.CURDIR}/sqlite3.pc.in \
 	    > ${.TARGET})

Reply via email to