changeset 562:09bf0470ed50

- callback_plain_c++ build fix for some platforms (setting correct c++ flags)
author Tassilo Philipp
date Sun, 04 Sep 2022 00:09:54 +0200
parents d60f741e5eae
children fcb9d00b5a00
files test/callback_plain_c++/Makefile.generic
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/test/callback_plain_c++/Makefile.generic	Sat Sep 03 17:34:23 2022 +0200
+++ b/test/callback_plain_c++/Makefile.generic	Sun Sep 04 00:09:54 2022 +0200
@@ -1,13 +1,13 @@
-APP     = callback_plain_c++
-OBJS    = test_main.o
-SRCTOP  = ${VPATH}/../..
-BLDTOP  = ../..
-CFLAGS += -I${SRCTOP}/dyncall
-LDLIBS  += -L${BLDTOP}/dyncallback -ldyncallback_s -L${BLDTOP}/dyncall -ldyncall_s
+APP       = callback_plain_c++
+OBJS      = test_main.o
+SRCTOP    = ${VPATH}/../..
+BLDTOP    = ../..
+CXXFLAGS += -I${SRCTOP}/dyncall
+LDLIBS   += -L${BLDTOP}/dyncallback -ldyncallback_s -L${BLDTOP}/dyncall -ldyncall_s
 .PHONY: all clean install
 all: ${APP}
 ${APP}: ${OBJS} 
-	${CXX} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP}
+	${CXX} ${CXXFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP}
 clean:
 	rm -f ${APP} ${OBJS}
 install: