Revert back g++ macro from dump list // Issue #1546

This commit is contained in:
Ivan Kravets
2018-04-01 10:28:25 -07:00
parent d1362c3751
commit 1410dd093a

View File

@ -68,9 +68,7 @@ def _get_gcc_defines(env):
sysenv = environ.copy()
sysenv['PATH'] = str(env['ENV']['PATH'])
result = util.exec_command(
"echo | %s -dM -E -x c++ -" % env.subst("$CC"),
env=sysenv,
shell=True)
"echo | %s -dM -E -" % env.subst("$CC"), env=sysenv, shell=True)
except OSError:
return items
if result['returncode'] != 0: