2015-06-22 03:09:39 +03:00
|
|
|
# $NetBSD: bsd.64.mk,v 1.11 2015/06/22 00:09:39 matt Exp $
|
2009-12-13 12:07:32 +03:00
|
|
|
|
2009-12-15 07:05:34 +03:00
|
|
|
.if ${MACHINE_ARCH} == "mips64eb"
|
|
|
|
LD+= -m elf64btsmip
|
|
|
|
.else
|
|
|
|
LD+= -m elf64ltsmip
|
|
|
|
.endif
|
2015-06-22 03:09:39 +03:00
|
|
|
.ifndef MLIBDIR
|
2009-12-13 12:07:32 +03:00
|
|
|
MLIBDIR= 64
|
|
|
|
|
2011-09-23 10:44:36 +04:00
|
|
|
# XXX
|
|
|
|
# GCC 4.5 libgomp wants a different omp.h installed for the 64 bit
|
|
|
|
# version of it, and we don't have a way of doing that yet.
|
|
|
|
NO_LIBGOMP= 1
|
|
|
|
|
2009-12-13 12:07:32 +03:00
|
|
|
COPTS+= -mabi=64
|
|
|
|
CPUFLAGS+= -mabi=64
|
|
|
|
LDADD+= -mabi=64
|
|
|
|
LDFLAGS+= -mabi=64
|
|
|
|
MKDEPFLAGS+= -mabi=64
|
2015-06-22 03:09:39 +03:00
|
|
|
.endif
|
2009-12-13 12:07:32 +03:00
|
|
|
|
2009-12-19 07:11:32 +03:00
|
|
|
.include "${.PARSEDIR}/../../Makefile.compat"
|