Skip to content

Commit 5fdb050

Browse files
committed
Fix passing of -u to linker.
Instead of just passing -u to the linker also pass the value of the option to the linker. Bug 24316
1 parent 32c34a3 commit 5fdb050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: driver/Linker.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,4 @@ let linker_actions =
8686
push_linker_arg s);
8787
Prefix "-Wl,", Self push_linker_arg;
8888
Prefix "-WUl,", Self (fun s -> List.iter push_linker_arg (explode_comma_option s));
89-
Exact "-u", Self push_linker_arg;]
89+
Exact "-u", String (fun s -> push_linker_arg "-u"; push_linker_arg s);]

0 commit comments

Comments
 (0)