Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@ryansg.com>2019-11-27 09:17:27 -0500
committerMike Gerwitz <mike.gerwitz@ryansg.com>2019-12-02 10:00:49 -0500
commite53482f2a3af95338acded5a6a5b970c879e88c5 (patch)
treeea43df3e902e39248e00b207101e1dcd5afc34a9 /tamer/configure.ac
parentd96f090337d2510de2668b733d8a17746f267eb1 (diff)
downloadtame-e53482f2a3af95338acded5a6a5b970c879e88c5.tar.gz
tame-e53482f2a3af95338acded5a6a5b970c879e88c5.tar.bz2
tame-e53482f2a3af95338acded5a6a5b970c879e88c5.zip
Introduce CARGO_BUILD_FLAGS
This is intended to permit passing `--release`, since dev builds are terribly slow (e.g. 6s -> 0.2s). See README.md for more information.
Diffstat (limited to 'tamer/configure.ac')
-rw-r--r--tamer/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/tamer/configure.ac b/tamer/configure.ac
index 0fc7bf4..9ed3526 100644
--- a/tamer/configure.ac
+++ b/tamer/configure.ac
@@ -52,6 +52,9 @@ AX_COMPARE_VERSION([$rustc_version], [ge], [$rustc_ver_req],
[AC_MSG_RESULT([yes ($rustc_version)])],
[AC_MSG_ERROR([no ($rustc_version)])])
+AC_ARG_VAR([CARGO_BUILD_FLAGS],
+ [Flags to be passed to `cargo build' when invoked via Make])
+
AC_CONFIG_FILES([Makefile])
AC_OUTPUT