mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-11 02:04:22 +00:00
* Remove the -Wl option to call gold instead of the normal linker
(Closes: #876787) * Fixup previous upload, adding -NDEBUG to build flags, lost in the -g -> -g1 switch * clang was producing unusable binaries on armv5tel (Closes: #873305)
This commit is contained in:
parent
ab59a1516c
commit
c720a61b91
13
debian/changelog
vendored
13
debian/changelog
vendored
@ -1,8 +1,13 @@
|
|||||||
llvm-toolchain-4.0 (1:4.0.1-6) UNRELEASED; urgency=medium
|
llvm-toolchain-4.0 (1:4.0.1-6) unstable; urgency=medium
|
||||||
|
|
||||||
* Add NDEBUG macro, lost in the -g -> -g1 change.
|
* Remove the -Wl option to call gold instead of the normal linker
|
||||||
|
(Closes: #876787)
|
||||||
|
|
||||||
-- Gianfranco Costamagna <locutusofborg@debian.org> Mon, 25 Sep 2017 10:26:11 +0200
|
[ Gianfranco Costamagna ]
|
||||||
|
* Fixup previous upload, adding -NDEBUG to build flags,
|
||||||
|
lost in the -g -> -g1 switch
|
||||||
|
|
||||||
|
-- Sylvestre Ledru <sylvestre@debian.org> Sun, 01 Oct 2017 15:24:14 +0200
|
||||||
|
|
||||||
llvm-toolchain-4.0 (1:4.0.1-5) unstable; urgency=medium
|
llvm-toolchain-4.0 (1:4.0.1-5) unstable; urgency=medium
|
||||||
|
|
||||||
@ -45,7 +50,7 @@ llvm-toolchain-4.0 (1:4.0.1-2) unstable; urgency=medium
|
|||||||
* Disable -gsplit-dwarf when using gcc 7 for causing a linking issue
|
* Disable -gsplit-dwarf when using gcc 7 for causing a linking issue
|
||||||
See https://bugs.llvm.org/show_bug.cgi?id=34140
|
See https://bugs.llvm.org/show_bug.cgi?id=34140
|
||||||
(Closes: #853526)
|
(Closes: #853526)
|
||||||
* clang was producing unusable binaries on armv5tel (Closes #873305)
|
* clang was producing unusable binaries on armv5tel (Closes: #873305)
|
||||||
Thanks to Adrian Bunk for the patch
|
Thanks to Adrian Bunk for the patch
|
||||||
|
|
||||||
[ Katsuhiko Nishimra ]
|
[ Katsuhiko Nishimra ]
|
||||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -93,7 +93,7 @@ ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' bin
|
|||||||
ifneq (,$(filter $(DEB_HOST_ARCH),$(BINUTILS_GOLD_ARCHS)))
|
ifneq (,$(filter $(DEB_HOST_ARCH),$(BINUTILS_GOLD_ARCHS)))
|
||||||
# -fused-ld=gold enables the gold linker (but is not supported by all archs / distro)
|
# -fused-ld=gold enables the gold linker (but is not supported by all archs / distro)
|
||||||
LDFLAGS_EXTRA += -fuse-ld=gold --no-keep-files-mapped --no-map-whole-files
|
LDFLAGS_EXTRA += -fuse-ld=gold --no-keep-files-mapped --no-map-whole-files
|
||||||
CXXFLAGS_EXTRA += -Wl,-fuse-ld=gold -Wl,--no-keep-files-mapped -Wl,--no-map-whole-files
|
CXXFLAGS_EXTRA += -fuse-ld=gold -Wl,--no-keep-files-mapped -Wl,--no-map-whole-files
|
||||||
CMAKE_EXTRA += -DLLVM_BINUTILS_INCDIR=/usr/include/
|
CMAKE_EXTRA += -DLLVM_BINUTILS_INCDIR=/usr/include/
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user