Try using the CC env var instead of hard-coding 'gcc'

parent 518ce5dd
# /usr/bin/env bash
set -e
NAME=dukboots
NAME=${NAME:-dukboots}
CC=${CC:-gcc}
GITBASH="'/c/Program\ Files/Git/bin/bash'"
WINBASH='/c/Windows/System32/bash'
# Who needs a build system? KISS
gcc -o $NAME \
$CC -o $NAME \
-Os -pedantic -std=c99 -Wall -fstrict-aliasing -fomit-frame-pointer \
-static -static-libgcc \
-fopenmp \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment