From: Daniel Dunbar Date: Thu, 15 Jul 2010 15:26:14 +0000 (+0000) Subject: Driver/Darwin: Allow -m{ios,macosx}-version-min= to be passed with -Xarch. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d55519bf1df142246537640b0a7011db81db2b94;p=clang Driver/Darwin: Allow -m{ios,macosx}-version-min= to be passed with -Xarch. - 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 --- diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index cdd05ca1f6..73c8e6bda2 100644 --- a/include/clang/Driver/Options.td +++ b/include/clang/Driver/Options.td @@ -438,11 +438,11 @@ def mfix_and_continue : Flag<"-mfix-and-continue">, Group def mfloat_abi_EQ : Joined<"-mfloat-abi=">, Group; def mfpu_EQ : Joined<"-mfpu=">, Group; def mhard_float : Flag<"-mhard-float">, Group; -def miphoneos_version_min_EQ : Joined<"-miphoneos-version-min=">, Group, Flags<[DriverOption]>; +def miphoneos_version_min_EQ : Joined<"-miphoneos-version-min=">, Group; def mios_version_min_EQ : Joined<"-mios-version-min=">, Alias; def mkernel : Flag<"-mkernel">, Group; def mllvm : Separate<"-mllvm">; -def mmacosx_version_min_EQ : Joined<"-mmacosx-version-min=">, Group, Flags<[DriverOption]>; +def mmacosx_version_min_EQ : Joined<"-mmacosx-version-min=">, Group; def mmmx : Flag<"-mmmx">, Group; def mno_3dnowa : Flag<"-mno-3dnowa">, Group; def mno_3dnow : Flag<"-mno-3dnow">, Group;