bsd.lib/prog.mk: Remove special case for mips
We no longer need to set the TLS model for mips64*. Sponsored by: Netflix
This commit is contained in:
parent
d889875b78
commit
98e58025a5
@ -123,12 +123,6 @@ CXXFLAGS+= ${DEBUG_FILES_CFLAGS}
|
||||
CTFFLAGS+= -g
|
||||
.endif
|
||||
|
||||
# clang currently defaults to dynamic TLS for mips64 object files without -fPIC
|
||||
.if ${MACHINE_ARCH:Mmips64*} && ${COMPILER_TYPE} == "clang"
|
||||
STATIC_CFLAGS+= -ftls-model=initial-exec
|
||||
STATIC_CXXFLAGS+= -ftls-model=initial-exec
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_CPUARCH} == "riscv" && ${LINKER_FEATURES:Mriscv-relaxations} == ""
|
||||
CFLAGS += -mno-relax
|
||||
.endif
|
||||
|
@ -117,11 +117,6 @@ TAG_ARGS= -T ${TAGS:[*]:S/ /,/g}
|
||||
LDFLAGS+= -static
|
||||
.endif
|
||||
|
||||
# clang currently defaults to dynamic TLS for mips64 binaries
|
||||
.if ${MACHINE_ARCH:Mmips64*} && ${COMPILER_TYPE} == "clang"
|
||||
CFLAGS+= -ftls-model=initial-exec
|
||||
.endif
|
||||
|
||||
.if ${MK_DEBUG_FILES} != "no"
|
||||
PROG_FULL=${PROG}.full
|
||||
# Use ${DEBUGDIR} for base system debug files, else .debug subdirectory
|
||||
|
Loading…
Reference in New Issue
Block a user