summaryrefslogtreecommitdiff
path: root/math/libxsmm/files/patch-Makefile
blob: 29857aa7cc3c0d61346056a679fa2a4c766e3521 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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