diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2018-08-27 14:22:19 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2018-08-27 14:22:19 +0200 |
commit | 86e9ce5f45c3a53a1cf8c8587cad5283dbff6f79 (patch) | |
tree | 57d4531c428b4de83a15672c5e145b011ef72047 /ffi | |
parent | b63fa9c8b4bf7a95f6a78bc1b5fd90176621e69e (diff) |
ffi: Tweak CFLAGS for building tests.
- Disable optimizations and enable debug information.
Diffstat (limited to 'ffi')
-rw-r--r-- | ffi/tests/c-tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffi/tests/c-tests.rs b/ffi/tests/c-tests.rs index 44060fcd..05324687 100644 --- a/ffi/tests/c-tests.rs +++ b/ffi/tests/c-tests.rs @@ -221,7 +221,7 @@ fn build(include_dir: &Path, ldpath: &Path, target_dir: &Path, } let st = Command::new("make") - .env("CFLAGS", &format!("-I{:?}", include_dir)) + .env("CFLAGS", &format!("-O0 -ggdb -I{:?}", include_dir)) .env("LDFLAGS", &format!("-L{:?} -lsequoia_ffi", ldpath)) .arg("-C").arg(&target_dir) .arg("--quiet") |