Skip to content

Commit

Permalink
[SOL] Remove +solana flag from clang (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasSte authored Jan 13, 2025
1 parent 977fa27 commit 93f96e7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions clang/lib/Driver/ToolChains/Arch/BPF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,6 @@ void bpf::getBPFTargetFeatures(const Driver &D, const ArgList &Args,
Arg *A;
bool success = true;

if ((A = Args.getLastArg(options::OPT_target))) {
StringRef Target = A->getValue();
if (Target == "sbf") {
Features.push_back("+solana");
}
}

if ((A = Args.getLastArg(options::OPT_march_EQ)))
success = getBPFArchFeaturesFromMarch(D, A->getValue(), Args, Features);
if (!success)
Expand Down

0 comments on commit 93f96e7

Please sign in to comment.