chore: -O3 not -03
This commit is contained in:
parent
ff1e63c719
commit
6a9997c7ad
2 changed files with 2 additions and 2 deletions
|
|
@ -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"]
|
||||
|
||||
|
|
|
|||
|
|
@ -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`.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue