summaryrefslogtreecommitdiffstats
path: root/ffi
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2018-08-27 14:22:19 +0200
committerJustus Winter <justus@sequoia-pgp.org>2018-08-27 14:22:19 +0200
commit86e9ce5f45c3a53a1cf8c8587cad5283dbff6f79 (patch)
tree57d4531c428b4de83a15672c5e145b011ef72047 /ffi
parentb63fa9c8b4bf7a95f6a78bc1b5fd90176621e69e (diff)
ffi: Tweak CFLAGS for building tests.
- Disable optimizations and enable debug information.
Diffstat (limited to 'ffi')
-rw-r--r--ffi/tests/c-tests.rs2
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")