mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-12 09:53:57 +00:00
Use thinlto for the build
This commit is contained in:
parent
093bc70984
commit
a1ba95bddd
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -6,6 +6,7 @@ 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
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Thu, 18 Apr 2019 19:05:45 +0200
|
||||
|
||||
|
4
debian/rules
vendored
4
debian/rules
vendored
@ -145,6 +145,10 @@ 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 += $(CFLAGS_EXTRA) -flto=thin
|
||||
CXXFLAGS_EXTRA += $(CXXFLAGS_EXTRA) -flto=thin
|
||||
LDFLAGS_EXTRA += $(LDFLAGS_EXTRA) -flto=thin
|
||||
|
||||
# Enable polly (or not)
|
||||
POLLY_ENABLE=yes
|
||||
ifneq (,$(filter $(DEB_HOST_ARCH), powerpc powerpcspe))
|
||||
|
Loading…
Reference in New Issue
Block a user