blob: a86c85dfe61c49afabd52393bb3c0f7012b20f9a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# This patch removes the default(?) setting of passing -single_module
# flag to the loader. From what I can gather, only the Darwin loader
# supports that, so this patch allows building on non-Darwin systems
diff -Naur spack-src/src/Makefile.am spack-src.patched/src/Makefile.am
--- spack-src/src/Makefile.am 2007-03-29 12:59:47.000000000 -0400
+++ spack-src.patched/src/Makefile.am 2020-12-04 11:25:50.789164073 -0500
@@ -10,7 +10,7 @@
# Set LDFLAGS to allow the HDF-EOS library to use extern variables from
# HDF5
-LDFLAGS=-Wl,-single_module
+#LDFLAGS=-Wl,-single_module
# Build HDF-EOS5
lib_LTLIBRARIES=libhe5_hdfeos.la
diff -Naur spack-src/src/Makefile.in spack-src.patched/src/Makefile.in
--- spack-src/src/Makefile.in 2010-08-30 11:47:05.000000000 -0400
+++ spack-src.patched/src/Makefile.in 2020-12-04 11:26:00.201443245 -0500
@@ -126,7 +126,7 @@
# Set LDFLAGS to allow the HDF-EOS library to use extern variables from
# HDF5
-LDFLAGS = -Wl,-single_module
+#LDFLAGS = -Wl,-single_module
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
|