fix the embedded VERSSTR by providing the correct machine architecture
at build time, and adding an import date to the version.
This commit is contained in:
parent
69337406ec
commit
b3081dfecd
5
external/bsd/pcc/Makefile.inc
vendored
5
external/bsd/pcc/Makefile.inc
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.2 2010/01/20 11:45:54 plunky Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.3 2010/02/03 22:13:13 plunky Exp $
|
||||
|
||||
PCC_DIR:=${.PARSEDIR}
|
||||
PCC_DIST=${PCC_DIR}/dist/pcc
|
||||
@ -16,9 +16,12 @@ TARGMACH = vax
|
||||
ERROR!= echo "ERROR: ${MACHINE_ARCH} not yet supported - write code!" >&2;echo
|
||||
.endif
|
||||
|
||||
VERSSTR = PACKAGE_STRING PACKAGE_CHECKOUT "for ${HOST_OSTYPE}"
|
||||
|
||||
libexecdir = /usr/libexec
|
||||
includedir = /usr/include
|
||||
|
||||
CPPFLAGS+= -DVERSSTR=${VERSSTR:Q}
|
||||
CPPFLAGS+= -DLIBEXECDIR=\"${libexecdir}/\"
|
||||
CPPFLAGS+= -DINCLUDEDIR=\"${includedir}/\"
|
||||
CPPFLAGS+= -Dos_${TARGOS}
|
||||
|
5
external/bsd/pcc/config.h
vendored
5
external/bsd/pcc/config.h
vendored
@ -187,7 +187,10 @@
|
||||
/* #undef TLS */
|
||||
|
||||
/* Version string */
|
||||
#define VERSSTR "pcc 0.9.9 for i386-pc-netbsdelf, greg@sparky Wed Aug 13 22:19:18 EST 2008"
|
||||
/* #define VERSSTR "pcc 0.9.9 for i386-pc-netbsdelf, greg@sparky Wed Aug 13 22:19:18 EST 2008" */
|
||||
|
||||
/* PCC checkout date */
|
||||
#define PACKAGE_CHECKOUT " [20090902] "
|
||||
|
||||
/* Size of wide character type */
|
||||
#define WCHAR_SIZE 4
|
||||
|
Loading…
Reference in New Issue
Block a user