mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Don't use -fomit-frame-pointer on darwin, it breaks stacktrace collection.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28451 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a04c0c417b
commit
e5aa8f38a7
@ -208,8 +208,11 @@ else
|
||||
BuildMode := Release
|
||||
# Don't use -fomit-frame-pointer on FreeBSD
|
||||
ifneq ($(OS),FreeBSD)
|
||||
# Don't use -fomit-frame-pointer on Darwin, it breaks backtraces.
|
||||
ifneq ($(OS),Darwin)
|
||||
OmitFramePointer := -fomit-frame-pointer
|
||||
endif
|
||||
endif
|
||||
CXX.Flags := -O3 -finline-functions -felide-constructors $(OmitFramePointer)
|
||||
C.Flags := -O3 $(OmitFramePointer)
|
||||
LD.Flags := -O3
|
||||
|
Loading…
Reference in New Issue
Block a user