]> granicus.if.org Git - clang/commitdiff
Driver/Darwin: Allow -m{ios,macosx}-version-min= to be passed with -Xarch.
authorDaniel Dunbar <daniel@zuster.org>
Thu, 15 Jul 2010 15:26:14 +0000 (15:26 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 15 Jul 2010 15:26:14 +0000 (15:26 +0000)
 - This should be safe, because the driver itself shouldn't need to make
   decisions that depend on the deployment target.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108425 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Driver/Options.td

index cdd05ca1f65ea16d5e5517a0487c4a3ab9cf9185..73c8e6bda2e4e04fda6713396f921bbe9b05d1e3 100644 (file)
@@ -438,11 +438,11 @@ def mfix_and_continue : Flag<"-mfix-and-continue">, Group<clang_ignored_m_Group>
 def mfloat_abi_EQ : Joined<"-mfloat-abi=">, Group<m_Group>;
 def mfpu_EQ : Joined<"-mfpu=">, Group<m_Group>;
 def mhard_float : Flag<"-mhard-float">, Group<m_Group>;
-def miphoneos_version_min_EQ : Joined<"-miphoneos-version-min=">, Group<m_Group>, Flags<[DriverOption]>;
+def miphoneos_version_min_EQ : Joined<"-miphoneos-version-min=">, Group<m_Group>;
 def mios_version_min_EQ : Joined<"-mios-version-min=">, Alias<miphoneos_version_min_EQ>;
 def mkernel : Flag<"-mkernel">, Group<m_Group>;
 def mllvm : Separate<"-mllvm">;
-def mmacosx_version_min_EQ : Joined<"-mmacosx-version-min=">, Group<m_Group>, Flags<[DriverOption]>;
+def mmacosx_version_min_EQ : Joined<"-mmacosx-version-min=">, Group<m_Group>;
 def mmmx : Flag<"-mmmx">, Group<m_x86_Features_Group>;
 def mno_3dnowa : Flag<"-mno-3dnowa">, Group<m_x86_Features_Group>;
 def mno_3dnow : Flag<"-mno-3dnow">, Group<m_x86_Features_Group>;