Return to bsd.own.mk CVS log | Up to [local] / src / share / mk |
version 1.191, 2018/10/22 19:31:30 | version 1.192, 2018/11/08 14:13:51 | ||
---|---|---|---|
|
|
||
STATICPIE?=-pie | STATICPIE?=-pie | ||
.endif | .endif | ||
# Executables are always PIC on mips64. | |||
# Do not pass -fno-pie to the compiler because clang does not accept it. | |||
.if ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el" | |||
NOPIE_FLAGS?= | |||
.endif | |||
.if !empty(PIE_ARCH:M${_arch}) | .if !empty(PIE_ARCH:M${_arch}) | ||
NOPIE_FLAGS?=-fno-pie | NOPIE_FLAGS?=-fno-pie | ||
NOPIE_LDFLAGS?=-nopie | NOPIE_LDFLAGS?=-nopie |