We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3953937 commit 34425a4Copy full SHA for 34425a4
make.sh
@@ -16,7 +16,11 @@ OUTPUT_DIR="./output"
16
CFLAGS="-g -O2 -Wall -Werror"
17
EXTRA_CFLAGS=""
18
OUTPUT_SUFFIX=""
19
-CC="cc"
+makecc="cc"
20
+if [ "$CC" ]
21
+then
22
+ makecc="$CC"
23
+fi
24
25
app_list='''
26
test_aco_tutorial_0
@@ -80,7 +84,7 @@ function build_f(){
80
84
continue
81
85
fi
82
86
#echo "<$file>:<$cflags>:$OUTPUT_DIR:$CFLAGS:$EXTRA_CFLAGS:$OUTPUT_SUFFIX"
83
- build_cmd="$CC $CFLAGS $EXTRA_CFLAGS acosw.S aco.c $file.c $cflags -o $OUTPUT_DIR/$file$OUTPUT_SUFFIX"
87
+ build_cmd="$makecc $CFLAGS $EXTRA_CFLAGS acosw.S aco.c $file.c $cflags -o $OUTPUT_DIR/$file$OUTPUT_SUFFIX"
88
skip_flag=""
89
if [ "$gl_opt_no_m32" ]
90
then
0 commit comments