2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 09:57:15 +01:00

Warn for missing cflags/cxxflags in gccdeps

This commit is contained in:
Thomas Nagy 2017-02-14 22:25:43 +01:00
parent 1e7f260c07
commit b4485d8bb1
No known key found for this signature in database
GPG Key ID: 49B4C67C05277AAA

View File

@ -74,7 +74,11 @@ def post_run(self):
name = self.outputs[0].abspath()
name = re_o.sub('.d', name)
txt = Utils.readf(name)
try:
txt = Utils.readf(name)
except EnvironmentError:
Logs.error('Could not find a .d dependency file, are cflags/cxxflags overwritten?')
raise
#os.remove(name)
# Compilers have the choice to either output the file's dependencies