commit: e9ce40fcff98af6f0efe76a3d720d5d365ffba3c
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Mar 31 14:43:03 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu Mar 31 14:43:03 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e9ce40fc
sys-cluster/parallel-netcdf: -fPIE
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
.../files/parallel-netcdf-1.12.2-respect-flags.patch | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
a/sys-cluster/parallel-netcdf/files/parallel-netcdf-1.12.2-respect-flags.patch
b/sys-cluster/parallel-netcdf/files/parallel-netcdf-1.12.2-respect-flags.patch
index 3c34675f1..0d345c6a3 100644
---
a/sys-cluster/parallel-netcdf/files/parallel-netcdf-1.12.2-respect-flags.patch
+++
b/sys-cluster/parallel-netcdf/files/parallel-netcdf-1.12.2-respect-flags.patch
@@ -5,7 +5,7 @@
cdfdiff$(EXEEXT): cdfdiff.c Makefile
- $(SEQ_CC) -I$(top_srcdir)/src/utils/ncvalidator -o $@ $<
-+ $(SEQ_CC) $(CFLAGS) $(LDFLAGS) -PIE
-I$(top_srcdir)/src/utils/ncvalidator -o $@ $<
++ $(SEQ_CC) $(CFLAGS) $(LDFLAGS) -fPIE
-I$(top_srcdir)/src/utils/ncvalidator -o $@ $<
$(top_builddir)/src/libs/libpnetcdf.la:
set -e; cd $(top_builddir)/src/libs && $(MAKE) $(MFLAGS)
@@ -16,7 +16,7 @@
ncoffsets$(EXEEXT): ncoffsets.c
- $(SEQ_CC) -o $@ $<
-+ $(SEQ_CC) $(CFLAGS) $(LDFLAGS) -PIE -o $@ $<
++ $(SEQ_CC) $(CFLAGS) $(LDFLAGS) -fPIE -o $@ $<
dist_man_MANS = ncoffsets.1
@@ -27,7 +27,7 @@
ncvalidator$(EXEEXT): ncvalidator.c Makefile
- $(SEQ_CC) -o $@ $<
-+ $(SEQ_CC) $(CFLAGS) $(LDFLAGS) -PIE -o $@ $<
++ $(SEQ_CC) $(CFLAGS) $(LDFLAGS) -fPIE -o $@ $<
# autimake 1.11.3 has not yet implemented AM_TESTS_ENVIRONMENT
# For newer versions, we can use AM_TESTS_ENVIRONMENT instead
@@ -38,7 +38,7 @@
pnetcdf_version$(EXEEXT): pnetcdf_version.c
- $(SEQ_CC) $(XDEFS) -o $@ $<
-+ $(SEQ_CC) $(CFLAGS) $(LDFLAGS) -PIE $(XDEFS) -o $@ $<
++ $(SEQ_CC) $(CFLAGS) $(LDFLAGS) -fPIE $(XDEFS) -o $@ $<
dist_man_MANS = pnetcdf_version.1