summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>1999-05-26 16:03:39 +0000
committerespie <espie@openbsd.org>1999-05-26 16:03:39 +0000
commit9476096b999b6a1c9379feaa3911850924b1ff6d (patch)
tree1d4bb4de8c6c3783820e42a4df68e2f3221266b5
parentLink in egcs, kill gcc and libg++ (diff)
downloadwireguard-openbsd-9476096b999b6a1c9379feaa3911850924b1ff6d.tar.xz
wireguard-openbsd-9476096b999b6a1c9379feaa3911850924b1ff6d.zip
New egcs cpp driver does always define gnu C.
-rw-r--r--usr.bin/cpp/cpp.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/cpp/cpp.sh b/usr.bin/cpp/cpp.sh
index e762de91a5d..82a3ac50949 100644
--- a/usr.bin/cpp/cpp.sh
+++ b/usr.bin/cpp/cpp.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: cpp.sh,v 1.3 1998/02/18 15:16:48 niklas Exp $
+# $OpenBSD: cpp.sh,v 1.4 1999/05/26 16:03:39 espie Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -44,7 +44,7 @@
# doesn't search gcc-include
#
PATH=/usr/bin:/bin
-ALST="-traditional -D__GNUC__ -$ "
+ALST="-traditional -$ "
NSI=no
OPTS=""
INCS="-nostdinc"
@@ -73,9 +73,6 @@ do
-I*)
INCS="$INCS $A"
;;
- -U__GNUC__)
- ALST=`echo $ALST | sed -e 's/-D__GNUC__//'`
- ;;
-imacros|-include|-idirafter|-iprefix|-iwithprefix)
INCS="$INCS '$A' '$1'"
shift