Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sh3/conf pass the right $CPP



details:   https://anonhg.NetBSD.org/src/rev/ddf0e5e5e6d7
branches:  trunk
changeset: 501905:ddf0e5e5e6d7
user:      itojun <itojun%NetBSD.org@localhost>
date:      Tue Jan 09 02:31:37 2001 +0000

description:
pass the right $CPP

diffstat:

 sys/arch/sh3/conf/build-sh3.eb |  3 ++-
 sys/arch/sh3/conf/build-sh3.el |  3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r da5ae03074f9 -r ddf0e5e5e6d7 sys/arch/sh3/conf/build-sh3.eb
--- a/sys/arch/sh3/conf/build-sh3.eb    Tue Jan 09 02:13:54 2001 +0000
+++ b/sys/arch/sh3/conf/build-sh3.eb    Tue Jan 09 02:31:37 2001 +0000
@@ -8,8 +8,9 @@
 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 $*
diff -r da5ae03074f9 -r ddf0e5e5e6d7 sys/arch/sh3/conf/build-sh3.el
--- a/sys/arch/sh3/conf/build-sh3.el    Tue Jan 09 02:13:54 2001 +0000
+++ b/sys/arch/sh3/conf/build-sh3.el    Tue Jan 09 02:31:37 2001 +0000
@@ -8,8 +8,9 @@
 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 $*



Home | Main Index | Thread Index | Old Index