File tree Expand file tree Collapse file tree 4 files changed +3
-2
lines changed
Expand file tree Collapse file tree 4 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -486,13 +486,15 @@ LIBSUFFIX = a
486486
487487ifeq ($(C_COMPILER), CLANG)
488488CCOMMON_OPT += -DMS_ABI
489+ CCOMMON_OPT += -fvisibility=hidden
489490endif
490491
491492#Version tests for supporting specific features (MS_ABI, POWER9 intrinsics)
492493ifeq ($(GCCVERSIONGT4), 1)
493494# GCC Major version > 4
494495# It is compatible with MSVC ABI.
495496CCOMMON_OPT += -DMS_ABI
497+ CCOMMON_OPT += -fvisibility=hidden
496498endif
497499
498500ifeq ($(GCCVERSIONGTEQ4), 1)
Original file line number Diff line number Diff line change @@ -742,6 +742,7 @@ if (BUILD_HFLOAT16)
742742endif ()
743743if (NOT MSVC )
744744set (CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} ${CCOMMON_OPT} " )
745+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden" )
745746endif ()
746747# TODO: not sure what PFLAGS is -hpa
747748set (PFLAGS "${PFLAGS} ${CCOMMON_OPT} -I${TOPDIR} -DPROFILE ${COMMON_PROF} " )
Original file line number Diff line number Diff line change 2929TOPDIR = ..
3030include $(TOPDIR ) /Makefile.system
3131
32-
3332SUPPORT_GEMM3M = 0
3433
3534ifeq ($(ARCH ) , x86)
Original file line number Diff line number Diff line change 4747#define MULTI_THREAD_MINIMAL 10000
4848#endif
4949
50-
5150OPENBLAS_EXPORT
5251#ifndef CBLAS
5352
You can’t perform that action at this time.
0 commit comments