From 37800f62e7cbfe07a9447e53d37702c705c15d7b Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Tue, 14 Sep 2010 08:46:14 +0000 Subject: Forc -mno-abicalls when compiling non-PIC bootblocks, for gcc 4 passes -KPIC to the assembler now unless -mno-abicalls is specified. --- sys/arch/sgi/stand/Makefile32.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch') 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 -- cgit v1.2.3