projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8525fad
)
Makefile.rules: Simplify nested if(s) on OmitFramePointer.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Sun, 18 Aug 2013 02:46:21 +0000
(
02:46
+0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Sun, 18 Aug 2013 02:46:21 +0000
(
02:46
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188619
91177308
-0d34-0410-b5e6-
96231b3b80d8
Makefile.rules
patch
|
blob
|
history
diff --git
a/Makefile.rules
b/Makefile.rules
index 32b1ebcbf0525dbab780f12179e5284650d6e699..d51f2697ad879c2360c074e344ae9950af5da182 100644
(file)
--- a/
Makefile.rules
+++ b/
Makefile.rules
@@
-274,13
+274,9
@@
CPP.Defines :=
ifeq ($(ENABLE_OPTIMIZED),1)
BuildMode := Release
# Don't use -fomit-frame-pointer on Darwin or FreeBSD.
- ifneq ($(HOST_OS),FreeBSD)
- ifneq ($(HOST_OS),GNU/kFreeBSD)
- ifneq ($(HOST_OS),Darwin)
+ ifneq ($(HOST_OS), $(filter $(HOST_OS), Darwin FreeBSD GNU/kFreeBSD))
OmitFramePointer := -fomit-frame-pointer
endif
- endif
- endif
CXX.Flags += $(OPTIMIZE_OPTION) $(OmitFramePointer)
C.Flags += $(OPTIMIZE_OPTION) $(OmitFramePointer)