Revert "Add -fvisibility-inlines-hidden -Bsymbolic-functions -fno-semantic-interposition to the args to make clang faster See https://github.com/ClangBuiltLinux/tc-build/issues/150#issuecomment-849935207"

Doesn't provide perf win

This reverts commit 9d45d3f6a0.
This commit is contained in:
Sylvestre Ledru 2021-05-31 23:35:32 +02:00
parent 93a4e65197
commit 80b05a65cc
2 changed files with 2 additions and 5 deletions

3
debian/changelog vendored
View File

@ -5,9 +5,6 @@ llvm-toolchain-12 (1:12.0.1~+rc1-1) unstable; urgency=medium
* Add upstream patch D98575 to fix 32-bit compiler-rt build on sparc64
[ Sylvestre Ledru ]
* Add -fvisibility-inlines-hidden -Bsymbolic-functions -fno-semantic-interposition
to the args to make clang faster
See https://github.com/ClangBuiltLinux/tc-build/issues/150#issuecomment-849935207
* backport D101773 to fix an llvm ir issue on mipsel
in mips/mips-D101773-reloc.patch
thanks to Ximin Luo

4
debian/rules vendored
View File

@ -38,8 +38,8 @@ DH_VERSION := $(shell dpkg -s debhelper | grep '^Version' | awk '{print $$2}')
include /usr/share/dpkg/architecture.mk
LDFLAGS_EXTRA =
CXXFLAGS_EXTRA = -fvisibility-inlines-hidden -fno-semantic-interposition # performance reasons
CFLAGS_EXTRA = -Bsymbolic-functions # perf reasons
CXXFLAGS_EXTRA =
CFLAGS_EXTRA =
CONFIGURE_EXTRA =
CMAKE_EXTRA = -DPYTHON_EXECUTABLE=/usr/bin/python3