Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/parallel-netcdf/files/
Date: Thu, 31 Mar 2022 14:43:26
Message-Id: 1648737783.e9ce40fcff98af6f0efe76a3d720d5d365ffba3c.Alessandro-Barbieri@gentoo
1 commit: e9ce40fcff98af6f0efe76a3d720d5d365ffba3c
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Thu Mar 31 14:43:03 2022 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Thu Mar 31 14:43:03 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e9ce40fc
7
8 sys-cluster/parallel-netcdf: -fPIE
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 .../files/parallel-netcdf-1.12.2-respect-flags.patch | 8 ++++----
13 1 file changed, 4 insertions(+), 4 deletions(-)
14
15 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
16 index 3c34675f1..0d345c6a3 100644
17 --- a/sys-cluster/parallel-netcdf/files/parallel-netcdf-1.12.2-respect-flags.patch
18 +++ b/sys-cluster/parallel-netcdf/files/parallel-netcdf-1.12.2-respect-flags.patch
19 @@ -5,7 +5,7 @@
20
21 cdfdiff$(EXEEXT): cdfdiff.c Makefile
22 - $(SEQ_CC) -I$(top_srcdir)/src/utils/ncvalidator -o $@ $<
23 -+ $(SEQ_CC) $(CFLAGS) $(LDFLAGS) -PIE -I$(top_srcdir)/src/utils/ncvalidator -o $@ $<
24 ++ $(SEQ_CC) $(CFLAGS) $(LDFLAGS) -fPIE -I$(top_srcdir)/src/utils/ncvalidator -o $@ $<
25
26 $(top_builddir)/src/libs/libpnetcdf.la:
27 set -e; cd $(top_builddir)/src/libs && $(MAKE) $(MFLAGS)
28 @@ -16,7 +16,7 @@
29
30 ncoffsets$(EXEEXT): ncoffsets.c
31 - $(SEQ_CC) -o $@ $<
32 -+ $(SEQ_CC) $(CFLAGS) $(LDFLAGS) -PIE -o $@ $<
33 ++ $(SEQ_CC) $(CFLAGS) $(LDFLAGS) -fPIE -o $@ $<
34
35 dist_man_MANS = ncoffsets.1
36
37 @@ -27,7 +27,7 @@
38
39 ncvalidator$(EXEEXT): ncvalidator.c Makefile
40 - $(SEQ_CC) -o $@ $<
41 -+ $(SEQ_CC) $(CFLAGS) $(LDFLAGS) -PIE -o $@ $<
42 ++ $(SEQ_CC) $(CFLAGS) $(LDFLAGS) -fPIE -o $@ $<
43
44 # autimake 1.11.3 has not yet implemented AM_TESTS_ENVIRONMENT
45 # For newer versions, we can use AM_TESTS_ENVIRONMENT instead
46 @@ -38,7 +38,7 @@
47
48 pnetcdf_version$(EXEEXT): pnetcdf_version.c
49 - $(SEQ_CC) $(XDEFS) -o $@ $<
50 -+ $(SEQ_CC) $(CFLAGS) $(LDFLAGS) -PIE $(XDEFS) -o $@ $<
51 ++ $(SEQ_CC) $(CFLAGS) $(LDFLAGS) -fPIE $(XDEFS) -o $@ $<
52
53 dist_man_MANS = pnetcdf_version.1