We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f24c016 commit aa34fbbCopy full SHA for aa34fbb
tools/codelite.py
@@ -196,7 +196,14 @@ def TargetCodelite(script, program):
196
197
CLSetCFlags(root, building.Env.get('CCFLAGS', []))
198
CLSetCxxFlags(root, building.Env.get('CCFLAGS', []))
199
- CLSetAsFlags(root, building.Env.get('ASFLAGS', []))
+
200
+ asflags = building.Env.get('ASFLAGS', [])
201
+ asflags = asflags.replace('-ffunction-sections', '')
202
+ asflags = asflags.replace('-fdata-sections', '')
203
+ asflags = asflags.replace('-x', '')
204
+ asflags = asflags.replace('-Wa,', '')
205
+ asflags = asflags.replace('assembler-with-cpp', '')
206
+ CLSetAsFlags(root, asflags)
207
CLSetLdFlags(root, building.Env.get('LINKFLAGS', []))
208
209
for macro in building.Env.get('CPPDEFINES', []):
0 commit comments