aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/cpp/cpp.sh
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1994-09-05 13:58:58 +0000
committerBruce Evans <bde@FreeBSD.org>1994-09-05 13:58:58 +0000
commitcb570515b4bb7a653afa4b3294c180879dc2c61d (patch)
treeedb257ce00f7b4b66519d17c346bd9033e870081 /usr.bin/cpp/cpp.sh
parent127af73461c53ce542cb8e13fd63d14ac4a89246 (diff)
Notes
Diffstat (limited to 'usr.bin/cpp/cpp.sh')
-rw-r--r--usr.bin/cpp/cpp.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cpp/cpp.sh b/usr.bin/cpp/cpp.sh
index 93d4e49b4c15..34aa29eb883a 100644
--- a/usr.bin/cpp/cpp.sh
+++ b/usr.bin/cpp/cpp.sh
@@ -36,7 +36,7 @@
# SUCH DAMAGE.
#
# From: @(#)cpp.sh 8.1 (Berkeley) 6/6/93
-# $Id: cpp.sh,v 1.2 1994/08/05 21:08:10 wollman Exp $
+# $Id: cpp.sh,v 1.3 1994/08/23 03:52:40 jkh Exp $
#
# Transitional front end to CCCP to make it behave like (Reiser) CCP:
# specifies -traditional
@@ -44,7 +44,7 @@
#
PATH=/usr/bin:/bin
CPP=/usr/libexec/cpp
-ALST="-traditional -D__GNUC__ -$ "
+ALST="-traditional -D__GNUC__=2 -$ "
NSI=no
OPTS=""
INCS="-nostdinc"
@@ -62,7 +62,7 @@ do
INCS="$INCS $A"
;;
-U__GNUC__)
- ALST=`echo $ALST | sed -e 's/-D__GNUC__//'`
+ ALST=`echo $ALST | sed -e 's/-D__GNUC__=2//'`
;;
-*)
OPTS="$OPTS '$A'"