ports/math/libxsmm/files/patch-Makefile
2022-07-12 22:45:37 -07:00

11 lines
430 B
Text

--- Makefile.orig 2021-12-02 20:45:19 UTC
+++ Makefile
@@ -27,6 +27,8 @@ CFLAGS := $(RPM_OPT_FLAGS)
CXXFLAGS := $(RPM_OPT_FLAGS)
FCFLAGS := $(RPM_OPT_FLAGS)
+CFLAGS += -fcommon # multiple definition of `libxsmm_scratch_pools' (and other symbols) https://github.com/hfp/libxsmm/issues/412
+
# THRESHOLD problem size (M x N x K) determining when to use BLAS
# A value of zero (0) populates a default threshold
THRESHOLD ?= 0