File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ SKIP = False
127
127
COMPILE = False
128
128
129
129
USE_RAWFS = True
130
+ CMAKE = False
130
131
131
132
out = []
132
133
for argc , arg in enumerate (sys .argv ):
@@ -135,8 +136,9 @@ for argc, arg in enumerate(sys.argv):
135
136
break
136
137
137
138
if arg .startswith ("CMakeFiles/" ):
138
- SKIP = True
139
- break
139
+ # SKIP = True
140
+ # break
141
+ CMAKE = True
140
142
141
143
if arg .startswith ('--preload-file' ) or arg .startswith ('--embed-file' ):
142
144
USE_RAWFS = False
@@ -198,7 +200,7 @@ for argc, arg in enumerate(sys.argv):
198
200
LINKING = True
199
201
200
202
# prevent duplicates objects/archives files on cmdline when linking
201
- if LINKING or MODE == "-o" :
203
+ if not CMAKE and ( LINKING or MODE == "-o" ) :
202
204
if arg .endswith (".a" ) or arg .endswith (".o" ) or arg .startswith ("-l" ):
203
205
if arg in out :
204
206
continue
You can’t perform that action at this time.
0 commit comments