summaryrefslogtreecommitdiffstats
path: root/usr.bin/cpp/cpp.sh
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2010-05-03 18:34:01 +0000
committerdrahn <drahn@openbsd.org>2010-05-03 18:34:01 +0000
commit1d02ddb34cc8d66fe5c531f65b65817c9d4fb6a7 (patch)
treef08d54eca36faef04a16788af4cfb3b04edf03d5 /usr.bin/cpp/cpp.sh
parentMake signal handler setup/teardown two common functions instead of six, (diff)
downloadwireguard-openbsd-1d02ddb34cc8d66fe5c531f65b65817c9d4fb6a7.tar.xz
wireguard-openbsd-1d02ddb34cc8d66fe5c531f65b65817c9d4fb6a7.zip
Support gcc4 with cpp (gcc4 binary to be installed in /usr/libexec/cpp).
ok kettenis@
Diffstat (limited to 'usr.bin/cpp/cpp.sh')
-rw-r--r--usr.bin/cpp/cpp.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cpp/cpp.sh b/usr.bin/cpp/cpp.sh
index baf0989f021..ca5ffea78db 100644
--- a/usr.bin/cpp/cpp.sh
+++ b/usr.bin/cpp/cpp.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: cpp.sh,v 1.7 2004/02/10 02:02:22 espie Exp $
+# $OpenBSD: cpp.sh,v 1.8 2010/05/03 18:34:01 drahn Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -41,7 +41,7 @@
#
PATH=/usr/bin:/bin
TRAD=-traditional
-DGNUC="-D__GNUC__"
+DGNUC="@GNUC@"
STDINC="-I/usr/include"
DOLLAR="@dollaropt@"
OPTS=""