blob: b7d5e042e6fdd0f5e7af2ad59b7f1a69ff40f808 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#
# 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_SDK=
LINKFLAGSRUNPATH_BRAND=
LINKFLAGSDEFS=-Wl,--ignore-unresolved-symbol,environ
LINKFLAGS=-Wl,-z,combreloc $(LINKFLAGSDEFS)
|