mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Add "Unoptimized" build (NO_DEBUG_SYMBOLS=1 ENABLE_OPTIMIZED=1), for reducing
disk space, and increasing battery lifetime. :) llvm-svn: 88978
This commit is contained in:
parent
3877235021
commit
3a89c01296
@ -338,11 +338,19 @@ ifeq ($(ENABLE_OPTIMIZED),1)
|
||||
KEEP_SYMBOLS := 1
|
||||
endif
|
||||
else
|
||||
BuildMode := Debug
|
||||
CXX.Flags += -g
|
||||
C.Flags += -g
|
||||
LD.Flags += -g
|
||||
KEEP_SYMBOLS := 1
|
||||
ifdef NO_DEBUG_SYMBOLS
|
||||
BuildMode := Unoptimized
|
||||
CXX.Flags +=
|
||||
C.Flags +=
|
||||
LD.Flags +=
|
||||
KEEP_SYMBOLS := 1
|
||||
else
|
||||
BuildMode := Debug
|
||||
CXX.Flags += -g
|
||||
C.Flags += -g
|
||||
LD.Flags += -g
|
||||
KEEP_SYMBOLS := 1
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(ENABLE_PROFILING),1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user