Use the medium low model for sparc64 programs that don't 2GB of data segment.
This commit is contained in:
parent
72feb11b6e
commit
f0a7e18ff6
@ -1,4 +1,4 @@
|
||||
# $NetBSD: bsd.prog.mk,v 1.154 2002/02/11 21:15:01 mycroft Exp $
|
||||
# $NetBSD: bsd.prog.mk,v 1.155 2002/03/27 05:40:54 eeh Exp $
|
||||
# @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
|
||||
|
||||
.include <bsd.init.mk>
|
||||
@ -12,6 +12,9 @@ clean: cleanprog
|
||||
CPPFLAGS+= ${DESTDIR:D-nostdinc ${CPPFLAG_ISYSTEM} ${DESTDIR}/usr/include}
|
||||
CXXFLAGS+= ${DESTDIR:D-nostdinc++ ${CPPFLAG_ISYSTEM} ${DESTDIR}/usr/include/g++}
|
||||
CFLAGS+= ${COPTS}
|
||||
.if ${MACHINE_ARCH} == "sparc64"
|
||||
CFLAGS+= -mcmodel=medlow
|
||||
.endif
|
||||
|
||||
# ELF platforms depend on crtbegin.o and crtend.o
|
||||
.if ${OBJECT_FMT} == "ELF"
|
||||
|
Loading…
Reference in New Issue
Block a user