mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 05:50:30 +00:00
Allow using CC environment variable with csources (#7754)
This commit is contained in:
committed by
Andreas Rumpf
parent
d3ad467022
commit
b132965330
@@ -39,8 +39,8 @@ do
|
||||
esac
|
||||
done
|
||||
|
||||
CC="gcc"
|
||||
LINKER="gcc"
|
||||
CC="${CC:-gcc}"
|
||||
LINKER="${LD:-gcc}"
|
||||
COMP_FLAGS="${CPPFLAGS:-} ${CFLAGS:-} ?{c.ccompiler.flags}$extraBuildArgs"
|
||||
LINK_FLAGS="${LDFLAGS:-} ?{c.linker.flags}"
|
||||
PS4=""
|
||||
|
||||
Reference in New Issue
Block a user