Skip to content

Commit c2bd719

Browse files
authored
Merge pull request #85 from RcppCore/bugfix/cppflags-to-cxxflags
CPPFLAGS -> CXXFLAGS
2 parents 0ef5400 + 2690289 commit c2bd719

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Makevars.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PKG_CPPFLAGS += @CXX11STD@ -I../inst/include/
1+
PKG_CXXFLAGS += @CXX11STD@ -I../inst/include/
22

33
ifeq ($(OS), Windows_NT)
44

@@ -46,7 +46,7 @@ endif
4646

4747
ifdef USE_TBB
4848

49-
PKG_CPPFLAGS += -DRCPP_PARALLEL_USE_TBB=1
49+
PKG_CXXFLAGS += -DRCPP_PARALLEL_USE_TBB=1
5050

5151
MAKE_ARGS := tbb_release tbbmalloc_release tbb_build_prefix=lib
5252

0 commit comments

Comments
 (0)