mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-12 14:18:19 +00:00
Add NDEBUG flag, removed in the -g -g1 switch
This commit is contained in:
parent
78982e2b84
commit
ab59a1516c
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
llvm-toolchain-4.0 (1:4.0.1-6) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* Add NDEBUG macro, lost in the -g -> -g1 change.
|
||||||
|
|
||||||
|
-- Gianfranco Costamagna <locutusofborg@debian.org> Mon, 25 Sep 2017 10:26:11 +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
|
||||||
|
|
||||||
* Backport of an arm patch for rust.
|
* Backport of an arm patch for rust.
|
||||||
|
7
debian/rules
vendored
7
debian/rules
vendored
@ -61,10 +61,13 @@ endif
|
|||||||
export CC=gcc-$(GCC_VERSION)
|
export CC=gcc-$(GCC_VERSION)
|
||||||
export CXX=g++-$(GCC_VERSION)
|
export CXX=g++-$(GCC_VERSION)
|
||||||
|
|
||||||
opt_flags = -g -O2
|
opt_flags = -O2 -DNDEBUG
|
||||||
ifneq (,$(filter $(DEB_HOST_ARCH),amd64 arm64 ppc64el s390x))
|
ifneq (,$(filter $(DEB_HOST_ARCH),amd64 arm64 ppc64el s390x))
|
||||||
opt_flags = -g1 -O2
|
opt_flags += -g1
|
||||||
|
else
|
||||||
|
opt_flags += -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(findstring $(DEB_HOST_ARCH),armel))
|
ifneq (,$(findstring $(DEB_HOST_ARCH),armel))
|
||||||
opt_flags += -marm
|
opt_flags += -marm
|
||||||
# 3.8 fails to build, disable the compiler_rt builtins
|
# 3.8 fails to build, disable the compiler_rt builtins
|
||||||
|
Loading…
Reference in New Issue
Block a user