diff options
| author | Bernard Xiong <[email protected]> | 2023-05-22 00:50:44 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-22 00:50:44 +0800 |
| commit | df839d5fdb02a4a2470ac0503e0000594c15a417 (patch) | |
| tree | f35d04dbe6a33e1ddff67fc81bc8bd6d9010a0a8 /tools | |
| parent | 4b4c3c85f2ac82f12d5527ef1a6794b2189a9eee (diff) | |
[building] Fix the deque issue for Env['CPPDEFINES'] (#7541)
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/building.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/building.py b/tools/building.py index a4fc2c1aab..4bcc86428b 100644 --- a/tools/building.py +++ b/tools/building.py @@ -784,8 +784,8 @@ def DoBuilding(target, objects): CFLAGS = Env.get('CFLAGS', '') + group.get('LOCAL_CFLAGS', '') CCFLAGS = Env.get('CCFLAGS', '') + group.get('LOCAL_CCFLAGS', '') CXXFLAGS = Env.get('CXXFLAGS', '') + group.get('LOCAL_CXXFLAGS', '') - CPPPATH = Env.get('CPPPATH', ['']) + group.get('LOCAL_CPPPATH', ['']) - CPPDEFINES = Env.get('CPPDEFINES', ['']) + group.get('LOCAL_CPPDEFINES', ['']) + CPPPATH = list(Env.get('CPPPATH', [''])) + group.get('LOCAL_CPPPATH', ['']) + CPPDEFINES = list(Env.get('CPPDEFINES', [''])) + group.get('LOCAL_CPPDEFINES', ['']) ASFLAGS = Env.get('ASFLAGS', '') + group.get('LOCAL_ASFLAGS', '') for source in group['src']: |
