]>
Commit | Line | Data |
---|---|---|
7453a54e SL |
1 | // This build script is distinct from the standard build.rs as it is only used |
2 | // for the BSDs which run a stripped down version. The `all.c` file is assumed | |
3 | // to have been already generated for this build script. | |
4 | ||
5 | extern crate gcc; | |
6 | ||
7 | fn main() { | |
8 | gcc::Config::new() | |
9 | .file("all.c") | |
10 | .flag("-Wall") | |
11 | .flag("-Wextra") | |
12 | .flag("-Werror") | |
9e0c209e | 13 | .flag("-Wno-deprecated-declarations") |
7453a54e SL |
14 | .flag("-Wno-type-limits") |
15 | .compile("liball.a"); | |
16 | } |