kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit fe7237fd74966c665e728d1fb56319c5b5b7773e
parent 6faed21a2450a647e591df7d0a2443a1a60b5522
Author: Joris Vink <joris@coders.se>
Date:   Thu, 29 Dec 2016 20:14:16 +0100

Take over linker from env if present.

Diffstat:
src/cli.c | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/cli.c b/src/cli.c @@ -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;