Skip to content

Commit 1d733e2

Browse files
committed
Driver/Darwin: Suppress spurious warning about -force_cpusubtype_ALL.
llvm-svn: 127819
1 parent c9388c1 commit 1d733e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/lib/Driver/Tools.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1905,7 +1905,8 @@ void ClangAs::ConstructJob(Compilation &C, const JobAction &JA,
19051905
!IsOpt))
19061906
CmdArgs.push_back("-relax-all");
19071907

1908-
// FIXME: Add -force_cpusubtype_ALL support, once we have it.
1908+
// Ignore explicit -force_cpusubtype_ALL option.
1909+
(void) Args.hasArg(options::OPT_force__cpusubtype__ALL);
19091910

19101911
// FIXME: Add -g support, once we have it.
19111912

0 commit comments

Comments
 (0)