summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2009-10-31 13:22:50 +0000
committermiod <miod@openbsd.org>2009-10-31 13:22:50 +0000
commit5ad54d05527ac357269a93b5ba64f2b386a68acf (patch)
tree9548b2778bfe747e7c10e71b5cddadb6b4b3ebf8
parents/Mhz/MHz/, MHz is a multiple of the SI unit hertz (whose symbol is Hz). (diff)
downloadwireguard-openbsd-5ad54d05527ac357269a93b5ba64f2b386a68acf.tar.xz
wireguard-openbsd-5ad54d05527ac357269a93b5ba64f2b386a68acf.zip
Do not override AS and LD, to be cross compilation friendly; noticed by syuu@
-rw-r--r--sys/arch/sgi/stand/Makefile32.inc10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/sgi/stand/Makefile32.inc b/sys/arch/sgi/stand/Makefile32.inc
index 0be56f0d220..5f9d2fc5078 100644
--- a/sys/arch/sgi/stand/Makefile32.inc
+++ b/sys/arch/sgi/stand/Makefile32.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile32.inc,v 1.1 2009/05/14 18:57:41 miod Exp $
+# $OpenBSD: Makefile32.inc,v 1.2 2009/10/31 13:22:50 miod Exp $
.ifndef __INCLUDED_STAND_MAKEFILE32_INC
__INCLUDED_STAND_MAKEFILE32_INC=
@@ -13,9 +13,11 @@ CFLAGS+= -fno-builtin-strncpy
CFLAGS+= -fno-builtin-strncmp
# Override toolchain options to force 32 bit binaries
SAABI= -mabi=32 -mips2 -Wa,-G0
-AS= as -32
-LD= ld -m elf32btsmip
-LIBSA_CPPFLAGS=
+AS?= as
+AS+= -32
+LD?= ld
+LD+= -m elf32btsmip
+#LIBSA_CPPFLAGS=
.endif
### Figure out what to use for libsa and libz