mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 20:40:11 +01:00
Unset CC and CXX in MSVC builds, if set
This commit is contained in:
@@ -195,6 +195,12 @@ class Configuration(object):
|
||||
]
|
||||
self.lflags = None
|
||||
|
||||
# These confuse WAF, but since it already reliably picks the correct
|
||||
# MSVC it shouldn't hurt to get rid of them.
|
||||
for name in ['CC', 'CXX']:
|
||||
if os.environ.get(name):
|
||||
os.environ.pop(name)
|
||||
|
||||
# Other MSVC flags...
|
||||
# Uncomment these to have debug info for all kinds of builds
|
||||
#self.cflags += ['/Od', '/Z7']
|
||||
|
||||
Reference in New Issue
Block a user