Skip to content

Commit

Permalink
Linker verbose (#1196)
Browse files Browse the repository at this point in the history
Shut linker up when duplicate options.

---------

Co-authored-by: Jan VL <[email protected]>
Co-authored-by: vyzo <[email protected]>
  • Loading branch information
3 people authored Mar 28, 2024
1 parent cfa13a7 commit c60d451
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gerbil/compiler/driver.ss
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ namespace: gxc
bin-c
output-c output_-c])
(invoke (gerbil-gcc)
["-o" output-bin
["-w" "-o" output-bin
deps-o ...
bin-o
output-o output_-o
Expand Down Expand Up @@ -371,7 +371,7 @@ namespace: gxc
["-obj" gsc-cc-opts ... gsc-static-opts ...
output-c output-c_])
(invoke (gerbil-gcc)
["-o" output-bin
["-w" "-o" output-bin
output-o output-o_ output-ld-opts ...
rpath
"-L" gerbil-libdir "-lgambit"
Expand Down Expand Up @@ -803,7 +803,7 @@ namespace: gxc
["-obj" "-cc-options" "-D___DYNAMIC" gsc-cc-opts ... path-c link-path-c]
stdout-redirection: #t)
(invoke (gerbil-gcc)
["-shared" "-o" link-path path-o link-path-o gcc-ld-opts ... ])
["-w" "-shared" "-o" link-path path-o link-path-o gcc-ld-opts ... ])
(for-each delete-file [path-c path-o link-path-c link-path-o])))

(def (compile-output-file ctx n ext)
Expand Down

0 comments on commit c60d451

Please sign in to comment.