summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-10-06 16:36:02 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-10-06 16:36:02 +0200
commitc85a99129416fce595ddfc5ffe5660a2c58b19f5 (patch)
treeb2a67af6a49550958da88aff2a5aca848880b565
parent9fd9b22112ba30fa2722c82cdacb96f863ff091e (diff)
Makefile: fix build if CC/CXX not set in env
this should also hopefully make the CI/CD work again Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2b1a43a..81d3821 100644
--- a/Makefile
+++ b/Makefile
@@ -108,7 +108,7 @@ PKGFILES = $(shell find pkg -type f -name '*.go')
endif
lib/%.a: $(PKGFILES)
- @XBUILD=no MAKE=${MAKE} ./gui/build.sh --just-golib
+ @XBUILD=no CC=${CC} CXX=${CXX} MAKE=${MAKE} ./gui/build.sh --just-golib
relink_vendor:
@echo "============RELINK VENDOR============="
@@ -140,7 +140,7 @@ build_gui: build_golib relink_vendor
@echo "==============BUILD GUI==============="
@echo "TARGET: ${TARGET}"
@echo "VENDOR_PATH: ${VENDOR_PATH}"
- @XBUILD=no MAKE=${MAKE} QMAKE=${QMAKE} LRELEASE=${LRELEASE} TARGET=${TARGET} VENDOR_PATH=${VENDOR_PATH} APPNAME=${APPNAME} gui/build.sh --skip-golib
+ @XBUILD=no CC=${CC} CXX=${CXX} MAKE=${MAKE} QMAKE=${QMAKE} LRELEASE=${LRELEASE} TARGET=${TARGET} VENDOR_PATH=${VENDOR_PATH} APPNAME=${APPNAME} gui/build.sh --skip-golib
@echo "============BUILD GUI================="
build: build_helper build_gui