mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-21 22:21:37 +00:00
Have wscript use the environment-provided CFLAGS as per WAF's documented behavior.
This commit is contained in:
parent
40774549e1
commit
d1685ac7e9
2
wscript
2
wscript
@ -50,7 +50,7 @@ def configure(conf):
|
|||||||
|
|
||||||
dbg = conf.options.debug
|
dbg = conf.options.debug
|
||||||
|
|
||||||
conf.env.CFLAGS = CFLAGS_UNIX + (CFLAGS_UNIX_DBG if dbg else [])
|
conf.env.CFLAGS += CFLAGS_UNIX + (CFLAGS_UNIX_DBG if dbg else [])
|
||||||
|
|
||||||
if conf.env.DEST_OS == 'win32':
|
if conf.env.DEST_OS == 'win32':
|
||||||
conf.env.PLATFORM = 'win32'
|
conf.env.PLATFORM = 'win32'
|
||||||
|
Loading…
Reference in New Issue
Block a user