Skip to content
Snippets Groups Projects
Commit 089750ab authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Allow recipe to set cargo flags

parent b6024fb7
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@
export RUST_TARGET_PATH=`realpath targets`
export RUSTFLAGS="--cfg redox"
export CARGOFLAGS=
TARGET=x86_64-unknown-redox
set -e
......@@ -15,7 +16,7 @@ then
case "$2" in
build)
pushd build
xargo build --target "$TARGET"
xargo build --target "$TARGET" $CARGOFLAGS
popd
;;
clean)
......
GIT=https://github.com/redox-os/sodium.git
CARGOFLAGS="--features orbital"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment