Skip to content

Commit 7cda101

Browse files
committed
Adapt for Solaris as before.
1 parent 44e712f commit 7cda101

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
@@ -25,8 +25,8 @@ OUTPUTOBJ_KEY = -o #
2525
PIC_KEY = -fPIC
2626
WARNING_AS_ERROR_KEY = -Werror
2727
WARNING_KEY = -Wall
28-
TEST_WARNING_KEY = -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra
29-
WARNING_SUPPRESS = -Wno-parentheses -Wno-non-virtual-dtor
28+
TEST_WARNING_KEY = -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor $(if $(findstring cc4., $(runtime)),-Wextra)
29+
WARNING_SUPPRESS = -Wno-parentheses -Wno-non-virtual-dtor
3030
DYLIB_KEY = -shared
3131
LIBDL = -ldl
3232

0 commit comments

Comments
 (0)