mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-25 14:32:53 +00:00
As far as I know no linker needs or wants the -g flag.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184800 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ea64122ec5
commit
a619be811c
@ -287,7 +287,6 @@ ifeq ($(ENABLE_OPTIMIZED),1)
|
||||
BuildMode := $(BuildMode)+Debug
|
||||
CXX.Flags += -g
|
||||
C.Flags += -g
|
||||
LD.Flags += -g
|
||||
KEEP_SYMBOLS := 1
|
||||
endif
|
||||
else
|
||||
@ -295,13 +294,11 @@ else
|
||||
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
|
||||
@ -324,7 +321,7 @@ ifeq ($(ENABLE_PROFILING),1)
|
||||
BuildMode := $(BuildMode)+Profile
|
||||
CXX.Flags := $(filter-out -fomit-frame-pointer,$(CXX.Flags)) -pg -g
|
||||
C.Flags := $(filter-out -fomit-frame-pointer,$(C.Flags)) -pg -g
|
||||
LD.Flags := $(filter-out -fomit-frame-pointer,$(LD.Flags)) -pg -g
|
||||
LD.Flags := $(filter-out -fomit-frame-pointer,$(LD.Flags)) -pg
|
||||
KEEP_SYMBOLS := 1
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user