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:
parent
1e7f260c07
commit
b4485d8bb1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user