
* hdf-eos5: new package (HDF for Earth Observing Sytem using hdf v5) * hdf-eos5: flake8 fixes * hdf-eos5: trying to fix flake8 errors * hdf-eos5: flake8 fix * hdf-eos5: Fix to support Fortran codes The -Df2cFortran compilation flag needed to support Fortran
29 lines
1.0 KiB
Diff
29 lines
1.0 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 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@
|