diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-09-14 08:46:14 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-09-14 08:46:14 +0000 |
commit | 37800f62e7cbfe07a9447e53d37702c705c15d7b (patch) | |
tree | 66558d5384182f8a4f612bd6e621be872e2becdf /sys/arch | |
parent | 3e3a495f59b2e187373c037de092cb58c3ba82c8 (diff) |
Forc -mno-abicalls when compiling non-PIC bootblocks, for gcc 4 passes -KPIC
to the assembler now unless -mno-abicalls is specified.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sgi/stand/Makefile32.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sgi/stand/Makefile32.inc b/sys/arch/sgi/stand/Makefile32.inc index b5f22731448..fe3c00b9b0c 100644 --- a/sys/arch/sgi/stand/Makefile32.inc +++ b/sys/arch/sgi/stand/Makefile32.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile32.inc,v 1.3 2009/10/31 20:36:14 miod Exp $ +# $OpenBSD: Makefile32.inc,v 1.4 2010/09/14 08:46:13 miod Exp $ .ifndef __INCLUDED_STAND_MAKEFILE32_INC __INCLUDED_STAND_MAKEFILE32_INC= @@ -12,7 +12,7 @@ CFLAGS+= -fno-builtin-memset CFLAGS+= -fno-builtin-strncpy CFLAGS+= -fno-builtin-strncmp # Override toolchain options to force 32 bit binaries -SAABI= -mabi=32 -mips2 -Wa,-G0 +SAABI= -mno-abicalls -mabi=32 -mips2 -Wa,-G0 AS?= as AS+= -32 LD?= ld |