wrappers: Stop specifying -fuse-cxa-atexit

Since clang 9.0.0 (34ec6929a1fb33716d0035dc0f1f164d7568b4dc
in llvm-project), it's no longer necessary to set this to be able
to use __cxa_thread_atexit (for TLS destructors). This brings the
behaviour closer to GCC, and reduces the amount of non-default
options used.
This commit is contained in:
Martin Storsjö committed 2019-12-20 23:18:41 +02:00
1 parent 7f2171d587
commit bc6df720ce
2 files changed
-2

No files matched your search

-1
View File
@@ -68,7 +68,6 @@ FLAGS="$FLAGS -target $TARGET"
FLAGS="$FLAGS -rtlib=compiler-rt"
FLAGS="$FLAGS -stdlib=libc++"
FLAGS="$FLAGS -fuse-ld=lld"
FLAGS="$FLAGS -fuse-cxa-atexit"
FLAGS="$FLAGS -Qunused-arguments"
$CCACHE "$CLANG" $FLAGS "$@"