summaryrefslogtreecommitdiff
path: root/build/unix/config_proginfo_build
diff options
context:
space:
mode:
Diffstat (limited to 'build/unix/config_proginfo_build')
-rw-r--r--build/unix/config_proginfo_build7
1 files changed, 5 insertions, 2 deletions
diff --git a/build/unix/config_proginfo_build b/build/unix/config_proginfo_build
index b01cf09..b300a15 100644
--- a/build/unix/config_proginfo_build
+++ b/build/unix/config_proginfo_build
@@ -22,6 +22,9 @@
# System specific build flags #
##############################################################################
+if [ -z "$CC" ]; then
+ CC=gcc
+fi
# CFLAGS
SYSTEM_BUILD_CFLAGS=""
@@ -182,9 +185,9 @@ esac
### gcc ###
PROG_gcc_NAME="GNU C compiler"
-PROG_gcc_FILE="gcc"
+PROG_gcc_FILE=$CC
PROG_gcc_ACTION=""
-PROG_gcc_VERSION='$(gcc --version)'
+PROG_gcc_VERSION='$($CC --version)'
### sed ###