From 08e0c43302152016c9f3a68ec3302abe4662adcf Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jeremy@system76.com> Date: Fri, 6 Dec 2019 19:44:37 -0700 Subject: [PATCH] Update dynamic-example recipe --- recipes/dynamic-example/recipe.sh | 35 +------------------------------ 1 file changed, 1 insertion(+), 34 deletions(-) diff --git a/recipes/dynamic-example/recipe.sh b/recipes/dynamic-example/recipe.sh index d14985ba4..29b01daec 100644 --- a/recipes/dynamic-example/recipe.sh +++ b/recipes/dynamic-example/recipe.sh @@ -1,35 +1,2 @@ GIT=https://gitlab.redox-os.org/redox-os/dynamic-example.git - -function recipe_version { - printf "1.0.0" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - sysroot="$(realpath ../sysroot)" - export LDFLAGS="-L$sysroot/lib" - export CPPFLAGS="-I$sysroot/include" - make prefix=/ - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - make clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - make prefix=/ DESTDIR="$dest" install - skip=1 -} +CARGOFLAGS="-- -C target-feature=-crt-static" -- GitLab