mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 20:00:43 +00:00
Disable -gsplit-dwarf on Ubuntu precise
This commit is contained in:
parent
0b026774b2
commit
764345ded3
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -1,4 +1,4 @@
|
|||||||
llvm-toolchain-snapshot (1:4.0~svn275970-1~exp2) experimental; urgency=medium
|
llvm-toolchain-snapshot (1:4.0~svn275971-1~exp1) experimental; urgency=medium
|
||||||
|
|
||||||
* Sync the 3.9 changes into 4.0
|
* Sync the 3.9 changes into 4.0
|
||||||
* Fix the cmake paths in llvm-4.0-dev deb package. Thanks to Brad King
|
* Fix the cmake paths in llvm-4.0-dev deb package. Thanks to Brad King
|
||||||
@ -15,6 +15,7 @@ llvm-toolchain-snapshot (1:4.0~svn275970-1~exp2) experimental; urgency=medium
|
|||||||
* Fix some lintian overrides
|
* Fix some lintian overrides
|
||||||
* Generate more manpages
|
* Generate more manpages
|
||||||
* Remove some garbage from the manpages (Closes: #815991, #804347)
|
* Remove some garbage from the manpages (Closes: #815991, #804347)
|
||||||
|
* Disable -gsplit-dwarf on Ubuntu precise
|
||||||
|
|
||||||
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 25 Jul 2016 12:19:52 +0200
|
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 25 Jul 2016 12:19:52 +0200
|
||||||
|
|
||||||
|
9
debian/rules
vendored
9
debian/rules
vendored
@ -25,7 +25,7 @@ DEB_HOST_ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH)
|
|||||||
OCAML_STDLIB_DIR ?= $(shell ocamlc -where)
|
OCAML_STDLIB_DIR ?= $(shell ocamlc -where)
|
||||||
|
|
||||||
LDFLAGS_EXTRA =
|
LDFLAGS_EXTRA =
|
||||||
CXXFLAGS_EXTRA = -std=c++0x -gsplit-dwarf
|
CXXFLAGS_EXTRA = -std=c++0x
|
||||||
CONFIGURE_EXTRA =
|
CONFIGURE_EXTRA =
|
||||||
CMAKE_EXTRA =
|
CMAKE_EXTRA =
|
||||||
|
|
||||||
@ -33,6 +33,13 @@ ifneq (,$(filter $(DEB_HOST_ARCH),powerpc powerpcspe))
|
|||||||
LDFLAGS_EXTRA += -latomic
|
LDFLAGS_EXTRA += -latomic
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' binutils ge 2.22.52.0.4 ; echo $$?),0)
|
||||||
|
# when using -gsplit-dwarf, it will requires extract-dwo which doesn't exist on precise:
|
||||||
|
# More: https://llvm.org/bugs/show_bug.cgi?id=28841
|
||||||
|
CXXFLAGS_EXTRA += -gsplit-dwarf
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' g++-$(GCC_VERSION)) lt 4.7.2-10~ ; echo $$?),0)
|
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' g++-$(GCC_VERSION)) lt 4.7.2-10~ ; echo $$?),0)
|
||||||
# Too old version of gcc. Force 4.9
|
# Too old version of gcc. Force 4.9
|
||||||
GCC_VERSION := 4.9
|
GCC_VERSION := 4.9
|
||||||
|
Loading…
Reference in New Issue
Block a user