forked from OSchip/llvm-project
Add -miphonesimulator-version-min as alias to -ios-simulator-version-min.
Summary: For better or worse the OS X command line tools refer to the iOS simulator as iphonesimucator. We should provide an alias flag -miphonesimulator-version-min that matches a consistent pattern with the other tools. This is in the interest of making it easier for people to write platform-agnostic darwin build scripts. Reviewers: bob.wilson, bogner Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D10743 llvm-svn: 240686
This commit is contained in:
parent
2f640d9a0f
commit
79e8210e82
|
@ -1170,6 +1170,7 @@ def miphoneos_version_min_EQ : Joined<["-"], "miphoneos-version-min=">, Group<m_
|
|||
def mios_version_min_EQ : Joined<["-"], "mios-version-min=">,
|
||||
Alias<miphoneos_version_min_EQ>, HelpText<"Set iOS deployment target">;
|
||||
def mios_simulator_version_min_EQ : Joined<["-"], "mios-simulator-version-min=">, Alias<miphoneos_version_min_EQ>;
|
||||
def miphonesimulator_version_min_EQ : Joined<["-"], "miphonesimulator-version-min=">, Alias<miphoneos_version_min_EQ>;
|
||||
def mkernel : Flag<["-"], "mkernel">, Group<m_Group>;
|
||||
def mlinker_version_EQ : Joined<["-"], "mlinker-version=">,
|
||||
Flags<[DriverOption]>;
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
// RUN: %clang -target i386-apple-darwin9 -miphonesimulator-version-min=7.0 -arch i386 -S -o - %s | FileCheck %s
|
||||
// RUN: %clang -target i386-apple-darwin9 -miphoneos-version-min=7.0 -arch armv7s -S -o - %s | FileCheck %s
|
||||
|
||||
int main() { return 0; }
|
||||
// CHECK: .ios_version_min 7, 0
|
Loading…
Reference in New Issue