File tree Expand file tree Collapse file tree 3 files changed +5
-11
lines changed
Expand file tree Collapse file tree 3 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,7 @@ inlineCxxPlugin <- function() {
2828}
2929
3030tbbCxxFlags <- function () {
31- if (Sys.info()[' sysname' ] != " SunOS" )
32- flags <- " -Wno-long-long"
33- else
34- flags <- " "
31+ flags <- " $(CXX1XSTD)"
3532 if (Sys.info()[' sysname' ] == " Windows" )
3633 flags <- paste(flags , " -DRCPP_PARALLEL_USE_TBB=1" )
3734 flags
Original file line number Diff line number Diff line change 11
2- PKG_CPPFLAGS += -I../inst/include/
2+ PKG_CPPFLAGS += $(CXX1XSTD) -I../inst/include/
33
44ifeq ($(OS), Windows_NT)
55
66 USE_TBB=Windows
77 TBB_COPY_PATTERN=tbb*.dll
8- PKG_CPPFLAGS += -Wno-long-long
98
109else
1110
1918 endif
2019 ifeq ($(UNAME), SunOS)
2120 USE_TBB=SunOS
22- else
23- PKG_CPPFLAGS += -Wno-long-long
2421 endif
2522
2623endif
6663 mkdir -p ../inst/lib/$(ARCH_DIR); \
6764 cd tbb/src; \
6865 if [[ "$(CC)" == clang* ]]; then \
69- make compiler=clang $(MAKE_ARGS); \
66+ make cpp0x=1 compiler=clang $(MAKE_ARGS); \
7067 else \
71- make $(MAKE_ARGS); \
68+ make cpp0x=1 $(MAKE_ARGS); \
7269 fi; \
7370 cd ../..; \
7471 cp tbb/build/lib_release/$(TBB_COPY_PATTERN) ../inst/lib/$(ARCH_DIR)
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ PIC_KEY = -fPIC
2626WARNING_AS_ERROR_KEY = -Werror
2727WARNING_KEY = -Wall
2828TEST_WARNING_KEY = -Wextra -Wshadow -Wcast -qual -Woverloaded -virtual -Wnon -virtual -dtor
29- WARNING_SUPPRESS = -Wno -parentheses -Wno -non -virtual -dtor -Wno -dangling -else - Wno - long - long
29+ WARNING_SUPPRESS = -Wno -parentheses -Wno -non -virtual -dtor -Wno -dangling -else
3030DYLIB_KEY = -shared
3131EXPORT_KEY = -Wl , --version -script ,
3232LIBDL = -ldl
You can’t perform that action at this time.
0 commit comments