commit 5f723200c7f8411df36e0a1bcecc15b0733abc8f
parent ac3e709b945dbbb24370d8398359caf222b10dfa
Author: Ashymad <szymon.mikulicz@posteo.net>
Date: Tue, 3 Mar 2026 22:43:38 +0100
Some envvars
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/main.janet b/src/main.janet
@@ -83,7 +83,10 @@
"CFLAGS" (string/join ["-idirafter" (path/join target "include")] " ")
"PERL5LIB" (path/join target "lib" "perl5")
"GOPATH" destdir
- "HOME" home])
+ "HOME" home
+ "CC" (os/getenv "CC")
+ "CXX" (os/getenv "CXX")
+ "CFLAGS" (os/getenv "CFLAGS")])
(var state :init)
(var errormsg "Unknown")
@@ -115,7 +118,7 @@
(checkrun :build/make :qmake))
:build/make
- (checkrun :install/make :make "CC=gcc" (string/format "-j%d" (libc/get_nprocs)))
+ (checkrun :install/make :make (string/format "-j%d" (libc/get_nprocs)))
:build/go
(checkrun :install/go :go "build" "-v")