Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/public-domain/sqlite/lib change CC to HOST_CC to av...



details:   https://anonhg.NetBSD.org/src/rev/ae4c544b1645
branches:  trunk
changeset: 327447:ae4c544b1645
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Mar 07 18:37:48 2014 +0000

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

diffstat:

 external/public-domain/sqlite/lib/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 7d4ce1ca64f1 -r ae4c544b1645 external/public-domain/sqlite/lib/Makefile
--- a/external/public-domain/sqlite/lib/Makefile        Fri Mar 07 16:38:28 2014 +0000
+++ b/external/public-domain/sqlite/lib/Makefile        Fri Mar 07 18:37:48 2014 +0000
@@ -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 @@
 
 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})



Home | Main Index | Thread Index | Old Index