summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-10-31 13:22:51 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-10-31 13:22:51 +0000
commit708644ec06d300a1b2b1adf6818f8ced107d3287 (patch)
tree7810300e13e8be40f79cdc9664371da3f094e405 /sys/arch
parent47e08967b6ed93a02087d92f982fef43debffd3e (diff)
Do not override AS and LD, to be cross compilation friendly; noticed by syuu@
Diffstat (limited to 'sys/arch')
-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