Skip to content

Commit f313395

Browse files
committed
specify -mcpu=v9 for sparc
1 parent 6b5eddd commit f313395

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tbb/build/SunOS.gcc.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ endif
6666
# for some gcc versions on Solaris, -m64 may imply V9, but perhaps not everywhere (TODO: verify).
6767
# RcppParallel: CRAN uses 32-bit SPARC so we force that here
6868
ifeq (sparc,$(arch))
69-
CPLUS_FLAGS += -m32
70-
LIB_LINK_FLAGS += -m32
69+
CPLUS_FLAGS += -mcpu=v9 -m32
70+
LIB_LINK_FLAGS += -mcpu=v9 -m32
7171
# CPLUS_FLAGS += -mcpu=v9 -m64
7272
# LIB_LINK_FLAGS += -mcpu=v9 -m64
7373
endif

0 commit comments

Comments
 (0)