office-gobmx/solenv/inc/unxnbsd.mk
2012-04-14 08:13:02 +02:00

24 lines
439 B
Makefile

#
# mk file for NetBSD
#
# arch specific defines
.IF "$(CPUNAME)" == "INTEL"
CDEFS+=-DX86
.ENDIF
.IF "$(CPUNAME)" == "X86_64"
CDEFS+=-DX86_64
BUILD64=1
.ENDIF
.INCLUDE : unxgcc.mk
# default linker flags
# NetBSD has no support for using relative paths with $ORIGIN
LINKFLAGSRUNPATH_UREBIN=
LINKFLAGSRUNPATH_OOO=
LINKFLAGSRUNPATH_SDKBIN=
LINKFLAGSDEFS=-Wl,--ignore-unresolved-symbol,environ
LINKFLAGS=-Wl,-z,combreloc $(LINKFLAGSDEFS)