chore: -O3 not -03

This commit is contained in:
tydeu 2021-09-25 23:59:13 -04:00
parent ff1e63c719
commit 6a9997c7ad
2 changed files with 2 additions and 2 deletions

View file

@ -172,7 +172,7 @@ structure PackageConfig where
/--
Additional arguments to pass to `leanc`
while compiling the C source files generated by `lean`.
Defaults to `-03` and `-DNDEBUG`.
Defaults to `-O3` and `-DNDEBUG`.
-/
leancArgs : Array String := #["-O3", "-DNDEBUG"]

View file

@ -82,7 +82,7 @@ Lake provides a large assortment of configuration options for packages.
### Library / Binary Compilation
* `leancArgs`: An `Array` additional arguments to pass to `leanc` while compiling the C source files generated by `lean`. Defaults to `-03` and `-DNDEBUG`.
* `leancArgs`: An `Array` additional arguments to pass to `leanc` while compiling the C source files generated by `lean`. Defaults to `-O3` and `-DNDEBUG`.
* `irDir`: The build subdirectory to which Lake should output the package's intermediary results (e.g., `.c` and `.o` files). Defaults to `ir`.
* `libName`: The name of the package's static library. Defaults to the string representation of the package's `moduleRoot`.
* `libDir`: The build subdirectory to which Lake should output the package's static library. Defaults to `lib`.