forked from M-Labs/nac3
core: IRRT -Werror=return-type
This commit is contained in:
parent
b0f97b4d36
commit
84fc095800
|
@ -31,6 +31,7 @@ fn compile_irrt(irrt_dir: &Path, out_dir: &Path) {
|
|||
"-S",
|
||||
"-Wall",
|
||||
"-Wextra",
|
||||
"-Werror=return-type",
|
||||
"-I",
|
||||
irrt_dir.to_str().unwrap(),
|
||||
"-o",
|
||||
|
@ -96,6 +97,7 @@ fn compile_irrt_test(irrt_dir: &Path, out_dir: &Path) {
|
|||
"-O0",
|
||||
"-Wall",
|
||||
"-Wextra",
|
||||
"-Werror=return-type",
|
||||
"-lm", // for `tgamma()`, `lgamma()`
|
||||
"-o",
|
||||
exe_path.to_str().unwrap(),
|
||||
|
|
Loading…
Reference in New Issue