Skip to content

Commit ce496ea

Browse files
committed
Fix for 32-bit SPARC (Kevin's old fix)
1 parent aa26a56 commit ce496ea

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/tbb/build/SunOS.gcc.inc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,12 @@ ifeq (ia32,$(arch))
6464
endif
6565

6666
# for some gcc versions on Solaris, -m64 may imply V9, but perhaps not everywhere (TODO: verify)
67+
# RcppParallel: CRAN uses 32-bit SPARC so we force that here
6768
ifeq (sparc,$(arch))
68-
CPLUS_FLAGS += -mcpu=v9 -m64
69-
LIB_LINK_FLAGS += -mcpu=v9 -m64
69+
CPLUS_FLAGS += -m32
70+
LIB_LINK_FLAGS += -m32
71+
# CPLUS_FLAGS += -mcpu=v9 -m64
72+
# LIB_LINK_FLAGS += -mcpu=v9 -m64
7073
endif
7174

7275
#------------------------------------------------------------------------------

0 commit comments

Comments
 (0)