Skip to content

Commit 93f96e7

Browse files
authored
[SOL] Remove +solana flag from clang (#123)
1 parent 977fa27 commit 93f96e7

File tree

1 file changed

+0
-7
lines changed
  • clang/lib/Driver/ToolChains/Arch

1 file changed

+0
-7
lines changed

clang/lib/Driver/ToolChains/Arch/BPF.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,6 @@ void bpf::getBPFTargetFeatures(const Driver &D, const ArgList &Args,
4747
Arg *A;
4848
bool success = true;
4949

50-
if ((A = Args.getLastArg(options::OPT_target))) {
51-
StringRef Target = A->getValue();
52-
if (Target == "sbf") {
53-
Features.push_back("+solana");
54-
}
55-
}
56-
5750
if ((A = Args.getLastArg(options::OPT_march_EQ)))
5851
success = getBPFArchFeaturesFromMarch(D, A->getValue(), Args, Features);
5952
if (!success)

0 commit comments

Comments
 (0)