diff options
author | 1999-06-17 23:27:17 +0000 | |
---|---|---|
committer | 1999-06-17 23:27:17 +0000 | |
commit | cc5a00213ad81dec9a822c6d84fb4d4503ac10f5 (patch) | |
tree | 503cd080120bceac0132fffceb5000637de7adf7 /usr.bin/cpp/cpp.sh | |
parent | Update to 990608 snapshot. (diff) | |
download | wireguard-openbsd-cc5a00213ad81dec9a822c6d84fb4d4503ac10f5.tar.xz wireguard-openbsd-cc5a00213ad81dec9a822c6d84fb4d4503ac10f5.zip |
Sync for 990608 egcs snapshot...
finally, the interface is frozen with /usr/libexec/cpp not defining
__GNUC__
Diffstat (limited to 'usr.bin/cpp/cpp.sh')
-rw-r--r-- | usr.bin/cpp/cpp.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/cpp/cpp.sh b/usr.bin/cpp/cpp.sh index 82a3ac50949..e8607ed8ab3 100644 --- a/usr.bin/cpp/cpp.sh +++ b/usr.bin/cpp/cpp.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: cpp.sh,v 1.4 1999/05/26 16:03:39 espie Exp $ +# $OpenBSD: cpp.sh,v 1.5 1999/06/17 23:27:17 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 -$ " +ALST="-traditional -$ -D__GNUC__" NSI=no OPTS="" INCS="-nostdinc" @@ -73,6 +73,9 @@ 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 |