mirror of https://gitlab.com/ita1024/waf.git
updated the stash() anti-example
This commit is contained in:
parent
5ce68b696a
commit
022e2e6ff3
|
@ -448,7 +448,7 @@ Though several calls to 'stash' can be made, the copies made are shallow, which
|
|||
[source,python]
|
||||
---------------
|
||||
def configure(ctx):
|
||||
ctx.env.CFLAGS += ['-O2']
|
||||
ctx.env.CFLAGS.append('-O2')
|
||||
---------------
|
||||
|
||||
The methods should always be used instead:
|
||||
|
|
Loading…
Reference in New Issue