From 39000b0b11b7e8f68630130110e7e50fdc4bf893 Mon Sep 17 00:00:00 2001 From: Michael Schubert Date: Fri, 13 Oct 2023 21:51:39 +0200 Subject: [PATCH] try cxxflags --- src/Makevars.in | 3 +-- src/Makevars.win | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Makevars.in b/src/Makevars.in index ce5b3f4..13934d9 100644 --- a/src/Makevars.in +++ b/src/Makevars.in @@ -1,3 +1,2 @@ -PKG_CPPFLAGS = @cflags@ -PKG_CFLAGS = @cflags@ +PKG_CXXFLAGS = @cflags@ PKG_LIBS = @libs@ diff --git a/src/Makevars.win b/src/Makevars.win index 1f3daf7..eea78ad 100644 --- a/src/Makevars.win +++ b/src/Makevars.win @@ -1,7 +1,6 @@ RWINLIB = ../windows/zeromq OLDLIBDIR = lib$(subst gcc,,$(COMPILED_BY))$(R_ARCH) -PKG_CPPFLAGS = -Icppzmq -I${RWINLIB}/include -PKG_CFLAGS = -DZMQ_STATIC -DZMQ_BUILD_DRAFT_API=1 -Icppzmq -I${RWINLIB}/include +PKG_CXXFLAGS = -DZMQ_STATIC -DZMQ_BUILD_DRAFT_API=1 -Icppzmq -I${RWINLIB}/include PKG_LIBS = \ -L$(RWINLIB)/$(OLDLIBDIR) \