Skip to content

Commit 0464e11

Browse files
authored
Merge pull request #138 from vilhelmgray/pass_all_ldflags
Pass down all options from all -Wa, -Wc, and -Wl flags
2 parents 6d2da5a + d1e485d commit 0464e11

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/compiler/fbc.bas

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1869,13 +1869,13 @@ private sub handleOpt(byval optid as integer, byref arg as string)
18691869
end if
18701870

18711871
case OPT_WA
1872-
fbc.extopt.gas = " " + hReplace( arg, ",", " " ) + " "
1872+
fbc.extopt.gas += " " + hReplace( arg, ",", " " ) + " "
18731873

18741874
case OPT_WC
1875-
fbc.extopt.gcc = " " + hReplace( arg, ",", " " ) + " "
1875+
fbc.extopt.gcc += " " + hReplace( arg, ",", " " ) + " "
18761876

18771877
case OPT_WL
1878-
fbc.extopt.ld = " " + hReplace( arg, ",", " " ) + " "
1878+
fbc.extopt.ld += " " + hReplace( arg, ",", " " ) + " "
18791879

18801880
case OPT_X
18811881
fbc.outname = arg

0 commit comments

Comments
 (0)