mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-03 12:54:47 +00:00
We are already using -g1 everywhere, don't make the rules file look difficult to understand
This commit is contained in:
parent
3e6b8215c4
commit
100c94ad93
10
debian/rules
vendored
10
debian/rules
vendored
@ -90,15 +90,7 @@ endif
|
||||
export CC=gcc-$(GCC_VERSION)
|
||||
export CXX=g++-$(GCC_VERSION)
|
||||
|
||||
opt_flags = -O2 -DNDEBUG
|
||||
|
||||
# Only enable g1 on archs which needs it (it fixes an OOM during dh_strip due to huge symbols)
|
||||
ifeq ($(DEB_HOST_ARCH_BITS),32)
|
||||
opt_flags += -g1
|
||||
else
|
||||
# Should be -g, but this causes buildd disk space issues
|
||||
opt_flags += -g1
|
||||
endif
|
||||
opt_flags = -O2 -DNDEBUG -g1
|
||||
|
||||
ifneq (,$(findstring $(DEB_HOST_ARCH),armel))
|
||||
opt_flags += -marm
|
||||
|
Loading…
Reference in New Issue
Block a user