1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

specifiy the TLS model via compiler flag

This commit is contained in:
Stefan Lankes 2015-08-28 17:41:45 +02:00
parent 89fc8847c3
commit a6e81226d2

View file

@ -54,7 +54,7 @@ STRIP_DEBUG = --strip-debug
KEEP_DEBUG = --only-keep-debug
OUTPUT_FORMAT = -O elf32-i386
CFLAGS_FOR_NEWLIB = #-O3 -mavx2 -mfma -mtune=intel #$(STACKPROT)
CFLAGS_FOR_NEWLIB = -m64 -mtls-direct-seg-refs -ftls-model=initial-exec #-O3 -mavx2 -mfma -mtune=intel #$(STACKPROT)
CXXFLAGS_FOR_NEWLIB =
LDFLAGS_FOR_NEWLIB =
NASMFLAGS_FOR_NEWLIB = -felf64