mirror of
https://github.com/jorisvink/kore
synced 2025-03-10 04:59:02 -04:00
Take over linker from env if present.
This commit is contained in:
parent
6faed21a24
commit
fe7237fd74
@ -455,11 +455,15 @@ cli_build(int argc, char **argv)
|
||||
rootdir = ".";
|
||||
appl = basename(pwd);
|
||||
|
||||
if ((p = getenv("CC")) != NULL)
|
||||
if ((p = getenv("CC")) != NULL) {
|
||||
compiler_c = p;
|
||||
compiler_ld = p;
|
||||
}
|
||||
|
||||
if ((p = getenv("CXX")) != NULL)
|
||||
if ((p = getenv("CXX")) != NULL) {
|
||||
compiler_cpp = p;
|
||||
compiler_ld = p;
|
||||
}
|
||||
|
||||
source_files_count = 0;
|
||||
cxx_files_count = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user