提交 aa34fbb1 编写于 作者: M mx

Fix assembly compilation errors

上级 f24c016c
......@@ -196,7 +196,14 @@ def TargetCodelite(script, program):
CLSetCFlags(root, building.Env.get('CCFLAGS', []))
CLSetCxxFlags(root, building.Env.get('CCFLAGS', []))
CLSetAsFlags(root, building.Env.get('ASFLAGS', []))
asflags = building.Env.get('ASFLAGS', [])
asflags = asflags.replace('-ffunction-sections', '')
asflags = asflags.replace('-fdata-sections', '')
asflags = asflags.replace('-x', '')
asflags = asflags.replace('-Wa,', '')
asflags = asflags.replace('assembler-with-cpp', '')
CLSetAsFlags(root, asflags)
CLSetLdFlags(root, building.Env.get('LINKFLAGS', []))
for macro in building.Env.get('CPPDEFINES', []):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册