From: fennecdjay Date: Mon, 27 Feb 2023 12:11:52 +0000 (+0100) Subject: :wrench: may need c++ tools X-Git-Tag: nightly~198 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=8d4d8196c6269a7eb75b3818e3d1c93f47eadee9;p=gwion.git :wrench: may need c++ tools --- 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)