Use $CC and $CPP if provided
Let the user select the compiler he wants to use to compile Factor by using the supplied $CC and $CPP instead of just discarding them. If not present, we default to gcc and g++ (the current behaviour).db4
parent
2f15ac3c8f
commit
df6ea31e1c
|
@ -97,7 +97,7 @@ set_md5sum() {
|
|||
set_gcc() {
|
||||
case $OS in
|
||||
openbsd) ensure_program_installed egcc; CC=egcc;;
|
||||
*) CC=gcc;;
|
||||
*) CC=${CC:=gcc};;
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue