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:
27a9939
)
Fix this condition; it has an else clause attached for Darwin only. Patch
author
Nick Lewycky
<nicholas@mxc.ca>
Mon, 2 Aug 2010 03:16:19 +0000
(
03:16
+0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Mon, 2 Aug 2010 03:16:19 +0000
(
03:16
+0000)
by Takumi Nakamura.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110016
91177308
-0d34-0410-b5e6-
96231b3b80d8
Makefile.rules
patch
|
blob
|
history
diff --git
a/Makefile.rules
b/Makefile.rules
index b1744f13bfa31175de7a45d12bb5715825419284..66666b42d28cc0762645978cdb3ffbd72492cfee 100644
(file)
--- a/
Makefile.rules
+++ b/
Makefile.rules
@@
-618,7
+618,8
@@
ifndef KEEP_SYMBOLS
endif
# Adjust linker flags for building an executable
-ifneq ($(HOST_OS), $(filter $(HOST_OS), Darwin Cygwin MingW))
+ifneq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW))
+ifneq ($(HOST_OS), Darwin)
ifdef TOOLNAME
LD.Flags += $(RPATH) -Wl,'$$ORIGIN/../lib'
ifdef EXAMPLE_TOOL
@@
-632,6
+633,7
@@
ifneq ($(DARWIN_MAJVERS),4)
LD.Flags += $(RPATH) -Wl,@executable_path/../lib
endif
endif
+endif
#----------------------------------------------------------