Skip to content

Commit 4b14ff1

Browse files
committed
define cblas_xerbla_64 as a weak symbol
1 parent 4df1cb1 commit 4b14ff1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

CBLAS/include/cblas_64.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,11 @@ void cblas_zher2k_64(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo,
572572
const void *B, const int64_t ldb, const double beta,
573573
void *C, const int64_t ldc);
574574

575-
void cblas_xerbla_64(int64_t p, const char *rout, const char *form, ...);
575+
void
576+
#ifdef HAS_ATTRIBUTE_WEAK_SUPPORT
577+
__attribute__((weak))
578+
#endif
579+
cblas_xerbla_64(int64_t p, const char *rout, const char *form, ...);
576580

577581
#ifdef __cplusplus
578582
}

0 commit comments

Comments
 (0)