mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-10-18 20:31:43 +00:00
Use -g0 on riscv64
This commit is contained in:
parent
c2f2da4b7d
commit
e2951087cf
5
debian/rules
vendored
5
debian/rules
vendored
@ -157,8 +157,6 @@ export CC=gcc-$(GCC_VERSION)
|
||||
export CXX=g++-$(GCC_VERSION)
|
||||
endif
|
||||
|
||||
opt_flags = -O2 -DNDEBUG -g1
|
||||
|
||||
ifneq (,$(findstring $(DEB_HOST_ARCH),armel))
|
||||
STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=arm-linux-gnueabi
|
||||
STAGE_ALL_CMAKE_EXTRA += -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON
|
||||
@ -206,6 +204,9 @@ endif
|
||||
# more than 2 jobs causes OOM in Ubuntu and slows down build process.
|
||||
ifneq (,$(filter $(DEB_HOST_ARCH),riscv64))
|
||||
NJOBS=2
|
||||
opt_flags = -O2 -DNDEBUG -g0
|
||||
else
|
||||
opt_flags = -O2 -DNDEBUG -g1
|
||||
endif
|
||||
|
||||
ifneq (,$(filter $(DEB_HOST_ARCH),sparc))
|
||||
|
Loading…
Reference in New Issue
Block a user