Skip to content

Commit

Permalink
Stricter C flags
Browse files Browse the repository at this point in the history
  • Loading branch information
dhil committed Mar 7, 2024
1 parent 6eff517 commit b99765a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config/configure.ml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
module C = Configurator.V1

let byte_flags = ref []
let native_flags = ref ["-DNATIVE_CODE"]
let common_flags = ["-Wall"; "-Wextra"; "-Wconversion"; "-Wno-sign-conversion"]
let byte_flags = ref common_flags
let native_flags = ref ("-DNATIVE_CODE" :: common_flags)

let add_native_flag flag =
native_flags := flag :: !native_flags
Expand Down

0 comments on commit b99765a

Please sign in to comment.