this is a dirty hack, but it solves the Program builder not honoring LDFLAGS

This commit is contained in:
Meredith L. Patterson 2015-10-04 01:43:44 +02:00
parent 10997afcbb
commit ff65571474
2 changed files with 14 additions and 15 deletions

View file

@ -93,8 +93,7 @@ else:
if GetOption("coverage"):
env.Append(CFLAGS=["--coverage"],
CXXFLAGS=["--coverage"],
LDFLAGS=["--coverage"],
LIBS=['gcov'])
LDFLAGS=["--coverage"])
env["CC"] = os.getenv("CC") or env["CC"]
env["CXX"] = os.getenv("CXX") or env["CXX"]