
* hdf-eos2: new package (HDF for Earth Observing System using hdf5) * hdf-eos2: flake8 fixes * hdf-eos2: fix to support Fortran Need the compilation flag -Df2cFortran to allow support for Fortran codes
28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
# 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 2008-02-19 13:43:18.000000000 -0500
|
|
+++ spack-src.patched/src/Makefile.am 2020-12-02 11:11:52.780822127 -0500
|
|
@@ -6,7 +6,7 @@
|
|
INCLUDES=-I$(top_srcdir)/include/
|
|
|
|
# Set LDFLAGS to alow the HDF-EOS library to use extern variables from HDF4
|
|
-LDFLAGS=-Wl,-single_module
|
|
+#LDFLAGS=-Wl,-single_module
|
|
|
|
# Build HDF-EOS2
|
|
lib_LTLIBRARIES=libhdfeos.la
|
|
diff -Naur spack-src/src/Makefile.in spack-src.patched/src/Makefile.in
|
|
--- spack-src/src/Makefile.in 2009-05-19 12:12:34.000000000 -0400
|
|
+++ spack-src.patched/src/Makefile.in 2020-12-02 11:12:06.686234377 -0500
|
|
@@ -126,7 +126,7 @@
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
|
|
|
# Set LDFLAGS to alow the HDF-EOS library to use extern variables from HDF4
|
|
-LDFLAGS = -Wl,-single_module
|
|
+#LDFLAGS = -Wl,-single_module
|
|
LIBOBJS = @LIBOBJS@
|
|
LIBS = @LIBS@
|
|
LIBTOOL = @LIBTOOL@
|