aboutsummaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-08-18 10:09:35 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-08-18 10:09:35 +0000
commit5044de201c25bf7f21f29ffbf54f3b7f88691f10 (patch)
tree3bcc9a7ab0eb40e1ca9210e3912d449bf4a9b359 /Makefile.rules
parentf53237790d4212adc578abfc06f1bbc98be20986 (diff)
Propagate recent cross-compile fixes to testsuite.
Patch by Sandeep Patel! git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@79329 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 69433ec3..4731ffdc 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -365,7 +365,7 @@ TARGET_LLCFLAGS += -relocation-model=pic -disable-fp-elim
TARGET_LLIFLAGS += -relocation-model=pic -disable-fp-elim
else
TARGET_FLAGS += -fomit-frame-pointer
- ifeq ($(OS),Darwin)
+ ifeq ($(TARGET_OS),Darwin)
TARGET_FLAGS += -mdynamic-no-pic
endif
endif