pass the right $CPP

This commit is contained in:
itojun 2001-01-09 02:31:37 +00:00
parent 04935f138a
commit 6378ac40ee
2 changed files with 4 additions and 2 deletions

View File

@ -8,8 +8,9 @@ MACHINE_ARCH=sh3eb
CFLAGS="-D__NetBSD__"
export MACHINE MACHINE_ARCH CFLAGS
TARGET=/usr/pkg/cross/bin/sh-netbsdcoff
CPP=`$TARGET-gcc -print-prog-name=cpp`
make AR=$TARGET-ar AS=$TARGET-as CC=$TARGET-gcc LD=$TARGET-ld NM=$TARGET-nm \
RANLIB=$TARGET-ranlib SIZE=$TARGET-size \
STRIP=$TARGET-strip OBJCOPY=$TARGET-objcopy \
CXX=$TARGET-c++ $*
CXX=$TARGET-c++ CPP=$CPP $*

View File

@ -8,8 +8,9 @@ MACHINE_ARCH=sh3el
CFLAGS="-D__NetBSD__"
export MACHINE MACHINE_ARCH CFLAGS
TARGET=/usr/pkg/cross/bin/shel-netbsdcoff
CPP=`$TARGET-gcc -print-prog-name=cpp`
make AR=$TARGET-ar AS=$TARGET-as CC=$TARGET-gcc LD=$TARGET-ld NM=$TARGET-nm \
RANLIB=$TARGET-ranlib SIZE=$TARGET-size \
STRIP=$TARGET-strip OBJCOPY=$TARGET-objcopy \
CXX=$TARGET-c++ $*
CXX=$TARGET-c++ CPP=$CPP $*