Skip to content

Commit

Permalink
CC should be checked for gcc, not CXX.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pentarctagon authored and jyrkive committed Feb 11, 2018
1 parent e826dc7 commit bdd5089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SConstruct
Expand Up @@ -525,7 +525,7 @@ for env in [test_env, client_env, env]:
rel_comp_flags = rel_comp_flags + env["arch"]

# PGO and LTO setup
if "gcc" in env["CXX"]:
if "gcc" in env["CC"]:
if env["pgo_data"] == "generate":
rel_comp_flags = rel_comp_flags + " -fprofile-generate=pgo_data/"
rel_link_flags = "-fprofile-generate=pgo_data/"
Expand Down

1 comment on commit bdd5089

@doofus-01
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cannot compile because of this commit, it's like what happened with c820009.

Please sign in to comment.