mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 14:36:48 +00:00
CC should be checked for gcc, not CXX.
This commit is contained in:
parent
e826dc7004
commit
bdd5089dd7
@ -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…
x
Reference in New Issue
Block a user