[flexpart] 14/26: Add -Wl,--as-needed

Alastair McKinstry mckinstry at moszumanska.debian.org
Thu Aug 27 12:42:15 UTC 2015


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to tag debian/9.02-10
in repository flexpart.

commit a3a36cbc6055bc9f9072f571827a049825ad23cc
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Sat Dec 14 12:09:26 2013 +0000

    Add -Wl,--as-needed
---
 debian/changelog             |  1 +
 debian/patches/fortran.patch | 12 ++++++------
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5cb4987..a3d3b15 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ flexpart (9.02-2) unstable; urgency=medium
   * Standards-Version: 3.9.5. No changes required. 
   * Move to section: science. Closes: #729444.
   * Fix typo in homepage URL. Closes: #730446.
+  * Add -Wl,--as-needed to remove unnecessary links in makefiles
 
  -- Alastair McKinstry <mckinstry at debian.org>  Sat, 14 Dec 2013 09:55:48 +0000
 
diff --git a/debian/patches/fortran.patch b/debian/patches/fortran.patch
index 30e176f..2bfb190 100644
--- a/debian/patches/fortran.patch
+++ b/debian/patches/fortran.patch
@@ -1,12 +1,12 @@
 Author: Alastair McKinstry <mckinstry at debian.org>
 Description: Makefile changes needed for Debian
-Last-Updated: 2013-09-22
+Last-Updated: 2013-12-14
 Forwarded: not-needed
 
 Index: flexpart-9.02/makefile.gfs_gfortran
 ===================================================================
---- flexpart-9.02.orig/makefile.gfs_gfortran	2013-09-23 20:38:39.000000000 +0100
-+++ flexpart-9.02/makefile.gfs_gfortran	2013-09-23 20:38:43.000000000 +0100
+--- flexpart-9.02.orig/makefile.gfs_gfortran	2013-12-14 11:16:12.000000000 +0000
++++ flexpart-9.02/makefile.gfs_gfortran	2013-12-14 11:16:12.000000000 +0000
 @@ -1,14 +1,14 @@
  SHELL = /bin/bash
 -MAIN = FLEXPART_GFS_GFORTRAN
@@ -46,8 +46,8 @@ Index: flexpart-9.02/makefile.gfs_gfortran
  
 Index: flexpart-9.02/makefile.ecmwf_gfortran
 ===================================================================
---- flexpart-9.02.orig/makefile.ecmwf_gfortran	2013-09-23 20:38:39.000000000 +0100
-+++ flexpart-9.02/makefile.ecmwf_gfortran	2013-09-23 20:38:43.000000000 +0100
+--- flexpart-9.02.orig/makefile.ecmwf_gfortran	2013-12-14 11:16:12.000000000 +0000
++++ flexpart-9.02/makefile.ecmwf_gfortran	2013-12-14 11:16:45.000000000 +0000
 @@ -1,15 +1,14 @@
  SHELL = /bin/bash
 -MAIN = FLEXPART_GFORTRAN
@@ -66,7 +66,7 @@ Index: flexpart-9.02/makefile.ecmwf_gfortran
 +LIBPATH1 = /usr/lib
 +LIBPATH2 = 
 +FFLAGS   = -O2 -fdefault-real-8 -fconvert=little-endian -frecord-marker=4 -I$(INCPATH) 
-+LFLAGS  = $(LDFLAGS) $(FFLAGS) -L$(LIBPATH2) -L$(LIBPATH1) -lgrib_api_f90 -lgrib_api -lm -ljasper
++LFLAGS  = $(LDFLAGS) $(FFLAGS) -Wl,--as-needed -L$(LIBPATH2) -L$(LIBPATH1) -lgrib_api_f90 -lgrib_api -lm -ljasper
 +MODPATH = /usr/include
  #
  

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/flexpart.git



More information about the debian-science-commits mailing list