Commit afa7058
committed
Fix two bugs in OPAL_FLAGS_APPEND_MOVE
Fix two issues in OPAL_FLAGS_APPEND_MOVE, which impacted the static
library list in the wrapper compilers. First, an assignment was
outside the conditional clause, resulting in the original array
being wiped out if the input did not contain any -l arguments.
Second, we did not have the default case to handle arguments that
did not begin with -I, -L, or -l.
Signed-off-by: Brian Barrett <bbarrett@amazon.com>1 parent c16fd23 commit afa7058
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
519 | | - | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
520 | 521 | | |
521 | 522 | | |
522 | 523 | | |
| |||
0 commit comments