Skip to content

Commit

Permalink
Update discover.ml
Browse files Browse the repository at this point in the history
  • Loading branch information
Khady authored Apr 28, 2024
1 parent 8ecae2c commit aae11ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/config/discover.ml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ let () =
| Some deps -> deps)
in

concat_map (fun flag -> [ "-cclib"; flag ]) conf.libs
([ "-ccopt"; "-Wl,--no-as-needed" ])
@ concat_map (fun flag -> [ "-cclib"; flag ]) conf.libs
|> C.Flags.write_sexp "flags.sexp")

0 comments on commit aae11ba

Please sign in to comment.