Build in ARM mode explicitly when on ARM Darwin
authorJim Grosbach <grosbach@apple.com>
Fri, 30 Oct 2009 21:33:05 +0000 (21:33 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 30 Oct 2009 21:33:05 +0000 (21:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85615 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index da07de8f0450bce3714e0170706541f0fe441c35..33069184aa402dee6a64d4b811b0db91fd5f52c2 100644 (file)
@@ -566,6 +566,8 @@ endif
 ifeq ($(TARGET_OS),Darwin)
   ifneq ($(ARCH),ARM)
     TargetCommonOpts += -mmacosx-version-min=$(DARWIN_VERSION)
+  else
+    TargetCommonOpts += -marm
   endif
 endif