comment the thinlto usage for now

This commit is contained in:
Sylvestre Ledru 2019-05-20 09:12:14 +02:00
parent 0dbadbefaa
commit 7b48c07838
2 changed files with 1 additions and 6 deletions

1
debian/changelog vendored
View File

@ -6,7 +6,6 @@ llvm-toolchain-snapshot (1:9~svn358688-1~exp1) experimental; urgency=medium
* No longer install lldb-test (disable upstream in 358574)
* Install lit-cpuid in llvm-9-tools
* libclang-X.Y: add clang_Cursor_isAnonymousRecordDecl to the list of symbols
* Use thinlto for the build
* New snapshot release
* remove debian/patches/reproducible-pch.diff
done upstream

6
debian/rules vendored
View File

@ -152,10 +152,6 @@ BOOTSTRAP_CXXFLAGS_EXTRA = $(CXXFLAGS_EXTRA) # Nothing for now. Keeping in case
CFLAGS_EXTRA += -fPIC -Wno-unused-command-line-argument -Wno-unknown-warning-option
BOOTSTRAP_CFLAGS_EXTRA = $(CFLAGS_EXTRA) # Nothing for now. Keeping in case we need it
#CFLAGS_EXTRA += -flto=thin
#CXXFLAGS_EXTRA += -flto=thin
#LDFLAGS_EXTRA += -flto=thin
# Enable polly (or not)
POLLY_ENABLE=yes
ifneq (,$(filter $(DEB_HOST_ARCH), powerpc powerpcspe))
@ -224,7 +220,7 @@ ifneq (,$(filter $(DEB_HOST_ARCH_OS),linux))
endif
# Use thinlto for the link phase
CMAKE_EXTRA += -DLLVM_ENABLE_LTO="Thin"
#CMAKE_EXTRA += -DLLVM_ENABLE_LTO="Thin"
DH_OPTIONS=
OCAML_ENABLE= no