pass the right $CPP
This commit is contained in:
parent
04935f138a
commit
6378ac40ee
@ -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 $*
|
||||
|
@ -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 $*
|
||||
|
Loading…
Reference in New Issue
Block a user