diff --git a/cook.sh b/cook.sh
index 0d3122c24c77559dbc3d7119bb3551903acd0c54..4d4bf983f8aed8f46f8d91be2d706f366f069914 100755
--- a/cook.sh
+++ b/cook.sh
@@ -200,7 +200,7 @@ function op {
             echo "target = \"$TARGET\"" >> "stage.toml"
             mkdir -p stage/pkg
             cp -v stage.toml "stage/pkg/$1.toml"
-            cargo run --release --manifest-path "$ROOT/pkgutils/Cargo.toml" --bin pkg -- create stage
+            CC=cc cargo run --release --manifest-path "$ROOT/pkgutils/Cargo.toml" --bin pkg -- create stage
             ;;
         untar)
             rm -rfv stage.tar stage.sig stage.toml