Skip to content

Commit

Permalink
try switching compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
T-Brick committed Feb 28, 2024
1 parent e681987 commit e8d2124
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 @@ -17,7 +17,7 @@ target datetime.o pkg : FilePath := do
let oFile := pkg.buildDir / "DateTime" / "c" / "datetime.o"
let srcJob ← inputFile <| pkg.dir / "DateTime" / "c" / "datetime.cpp"
let weakArgs := #["-I", (← getLeanIncludeDir).toString]
buildO "datetime.cpp" oFile srcJob weakArgs #["-fPIC"] "g++" getLeanTrace
buildO "datetime.cpp" oFile srcJob weakArgs #["-fPIC"] (compiler := "cc") getLeanTrace

extern_lib lib_datetime pkg := do
let name := nameToStaticLib "datetime"
Expand Down

0 comments on commit e8d2124

Please sign in to comment.