From 8d4d8196c6269a7eb75b3818e3d1c93f47eadee9 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Mon, 27 Feb 2023 13:11:52 +0100 Subject: [PATCH] :wrench: may need c++ tools --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 65352573..3e91a1de 100644 --- a/Makefile +++ b/Makefile @@ -74,11 +74,14 @@ CFLAGS += -Wno-pedantic CFLAGS += -DGWION_BUILTIN +# with_config may require a c++ linker +LINKER ?= ${CC} + all: options-show prg prg: ${GWLIBS} ${config_obj} src/main.o @$(info link ${PRG}) - ${CC} src/main.o -o ${PRG} ${config_obj} ${PLUGLIBS} ${LDFLAGS} ${LIBS} + ${LINKER} src/main.o -o ${PRG} ${config_obj} ${PLUGLIBS} ${LDFLAGS} ${LIBS} options-show: @$(call _options) -- 2.43.0