Changeset View
Changeset View
Standalone View
Standalone View
share/mk/sys.mk
Show First 20 Lines • Show All 236 Lines • ▼ Show 20 Lines | |||||
LEX ?= lex | LEX ?= lex | ||||
LFLAGS ?= | LFLAGS ?= | ||||
# LDFLAGS is for CC, _LDFLAGS is for LD. Generate _LDFLAGS from | # LDFLAGS is for CC, _LDFLAGS is for LD. Generate _LDFLAGS from | ||||
# LDFLAGS by stripping -Wl, from pass-through arguments and dropping | # LDFLAGS by stripping -Wl, from pass-through arguments and dropping | ||||
# compiler driver flags (e.g. -mabi=*) that conflict with flags to LD. | # compiler driver flags (e.g. -mabi=*) that conflict with flags to LD. | ||||
LD ?= ld | LD ?= ld | ||||
LDFLAGS ?= | LDFLAGS ?= | ||||
_LDFLAGS = ${LDFLAGS:S/-Wl,//g:N-mabi=*:N-fuse-ld=*:N--ld-path=*} | _LDFLAGS = ${LDFLAGS:S/-Wl,//g:N-mabi=*:N-fuse-ld=*:N--ld-path=*:N-fsanitize=*:N-fno-sanitize=*} | ||||
MAKE ?= make | MAKE ?= make | ||||
.if !defined(%POSIX) | .if !defined(%POSIX) | ||||
LLVM_LINK ?= llvm-link | LLVM_LINK ?= llvm-link | ||||
LORDER ?= lorder | LORDER ?= lorder | ||||
▲ Show 20 Lines • Show All 94 Lines • Show Last 20 Lines |