Skip to content

Commit d1e485d

Browse files
author
William Breathitt Gray
committed
Pass down all options from all -Wa, -Wc, and -Wl flags
All options from all -Wa, -Wc, and -Wl flags are passed down to their respective programs. This fixes issue #137.
1 parent 6d2da5a commit d1e485d

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)