CC should be checked for gcc, not CXX.
This commit is contained in:
parent
e826dc7004
commit
bdd5089dd7
1 changed files with 1 additions and 1 deletions
|
@ -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/"
|
||||
|
|
Loading…
Add table
Reference in a new issue