summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2010-05-14 19:50:00 +0000
committerdrahn <drahn@openbsd.org>2010-05-14 19:50:00 +0000
commitdae00fde8567c90547a071573b5f5c519535fbce (patch)
tree8f53a39d6e3fdd0c91e930864ed2e96683418e64
parentBe friendly with gcc4. (diff)
downloadwireguard-openbsd-dae00fde8567c90547a071573b5f5c519535fbce.tar.xz
wireguard-openbsd-dae00fde8567c90547a071573b5f5c519535fbce.zip
avoid builtins completely, so avoid possible issues with gcc4.
-rw-r--r--sys/arch/macppc/stand/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/stand/Makefile.inc b/sys/arch/macppc/stand/Makefile.inc
index 7d55f0d4675..fbaf048b60a 100644
--- a/sys/arch/macppc/stand/Makefile.inc
+++ b/sys/arch/macppc/stand/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.8 2007/11/26 10:26:02 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.9 2010/05/14 19:50:00 drahn Exp $
# $NetBSD: Makefile.inc,v 1.1 1996/09/30 16:34:59 ws Exp $
.if !defined(__stand_makefile_inc)
@@ -23,7 +23,7 @@ INCLUDES+= -I$(S)/lib/libsa
DEFS+= -DSTANDALONE
CFLAGS+= $(INCLUDES) $(DEFS) $(EXTRACFLAGS)
CFLAGS+= -fno-stack-protector
-CFLAGS+= -fno-builtin-vprintf -fno-builtin-printf -fno-builtin-putchar
+CFLAGS+= -fno-builtin
LDFLAGS?= -X -N -Ttext $(RELOC) -e $(ENTRY)
cleandir: