Skip to content

Commit

Permalink
no exceptions flag
Browse files Browse the repository at this point in the history
  • Loading branch information
T-Brick committed Feb 28, 2024
1 parent 1d05898 commit 03edb0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lakefile.lean
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ lean_exe «datetime» where
target datetime.o pkg : FilePath := do
let oFile := pkg.buildDir / "DateTime" / "c" / "datetime.o"
let srcJob ← inputFile <| pkg.dir / "DateTime" / "c" / "datetime.cpp"
let flags := #["-I", (← getLeanIncludeDir).toString, "-fPIC", "-lstdc++", "-Wl"]
let flags := #["-I", (← getLeanIncludeDir).toString, "-fPIC", "-lstdc++", "-fno-exceptions"]
buildO "datetime.cpp" oFile srcJob flags #[] "g++"

extern_lib libleandatetime pkg := do
Expand Down

0 comments on commit 03edb0b

Please sign in to comment.