From 24d82503ffb97c0154814cb6dd209498fb211049 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Thu, 14 Jan 2021 10:54:15 +0100 Subject: [PATCH] Closes #2129 --- cc.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cc.sh b/cc.sh index 6324bbba8..c1b9cef7d 100755 --- a/cc.sh +++ b/cc.sh @@ -65,6 +65,7 @@ os_type="$(uname -s)" case "$os_type" in "Darwin") os_type="osx" ;; + "FreeBSD") os_type="freebsd" ;; "Linux") os_type="linux" ;; *) echo "ERROR: Unknown OS type: ${os_type}. If you believe that our script should work on your machine, please let us know."; exit 1 esac @@ -73,6 +74,7 @@ cpu_architecture="$(uname -m)" case "$cpu_architecture" in "aarch64") cpu_architecture="arm64" ;; + "amd64") cpu_architecture="x64" ;; "armv7l") cpu_architecture="arm" ;; "x86_64") cpu_architecture="x64" ;; *) echo "ERROR: Unknown CPU architecture: ${cpu_architecture}. If you believe that our script should work on your machine, please let us know."; exit 1