mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 01:57:13 +02:00
Revert back g++ macro from dump list // Issue #1546
This commit is contained in:
@ -68,9 +68,7 @@ def _get_gcc_defines(env):
|
|||||||
sysenv = environ.copy()
|
sysenv = environ.copy()
|
||||||
sysenv['PATH'] = str(env['ENV']['PATH'])
|
sysenv['PATH'] = str(env['ENV']['PATH'])
|
||||||
result = util.exec_command(
|
result = util.exec_command(
|
||||||
"echo | %s -dM -E -x c++ -" % env.subst("$CC"),
|
"echo | %s -dM -E -" % env.subst("$CC"), env=sysenv, shell=True)
|
||||||
env=sysenv,
|
|
||||||
shell=True)
|
|
||||||
except OSError:
|
except OSError:
|
||||||
return items
|
return items
|
||||||
if result['returncode'] != 0:
|
if result['returncode'] != 0:
|
||||||
|
Reference in New Issue
Block a user