From 8acc25947d49555340ce8bf465955fc2cd4884aa Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Mon, 5 Jun 2017 20:53:31 -0600
Subject: [PATCH] Fix pkgutils builds

---
 cook.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cook.sh b/cook.sh
index 0d3122c24..4d4bf983f 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
-- 
GitLab