Allow using CC environment variable with csources (#7754)
This commit is contained in:
parent
d3ad467022
commit
b132965330
1 changed files with 2 additions and 2 deletions
|
|
@ -39,8 +39,8 @@ do
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
CC="gcc"
|
CC="${CC:-gcc}"
|
||||||
LINKER="gcc"
|
LINKER="${LD:-gcc}"
|
||||||
COMP_FLAGS="${CPPFLAGS:-} ${CFLAGS:-} ?{c.ccompiler.flags}$extraBuildArgs"
|
COMP_FLAGS="${CPPFLAGS:-} ${CFLAGS:-} ?{c.ccompiler.flags}$extraBuildArgs"
|
||||||
LINK_FLAGS="${LDFLAGS:-} ?{c.linker.flags}"
|
LINK_FLAGS="${LDFLAGS:-} ?{c.linker.flags}"
|
||||||
PS4=""
|
PS4=""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue