From 80b05a65cc7f4db8e922237eebfeead7d3656acd Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 31 May 2021 23:35:32 +0200 Subject: [PATCH] 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 9d45d3f6a00ba5e59b1a29e99513b26aabfdd8df. --- debian/changelog | 3 --- debian/rules | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index c34b4eda..db46b709 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 diff --git a/debian/rules b/debian/rules index 3772960f..a5d9445e 100755 --- a/debian/rules +++ b/debian/rules @@ -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