[med-svn] r5880 - trunk/packages/mrbayes/trunk/debian
Andreas Tille
tille at alioth.debian.org
Thu Feb 3 22:44:28 UTC 2011
Author: tille
Date: 2011-02-03 22:44:28 +0000 (Thu, 03 Feb 2011)
New Revision: 5880
Modified:
trunk/packages/mrbayes/trunk/debian/rules
Log:
Avoid linking against (most of) unneeded libraries
Modified: trunk/packages/mrbayes/trunk/debian/rules
===================================================================
--- trunk/packages/mrbayes/trunk/debian/rules 2011-02-03 22:05:22 UTC (rev 5879)
+++ trunk/packages/mrbayes/trunk/debian/rules 2011-02-03 22:44:28 UTC (rev 5880)
@@ -18,10 +18,10 @@
override_dh_auto_build:
# build mb-mpi
- MPI=yes $(MAKE)
+ MPI=yes LIBS="-Wl,--as-needed" $(MAKE)
mv mb mb-mpi
# build mb
# $(MAKE) clean # <-- seems to delete mb-mpi somehow
rm -f *.o
- MPI=no $(MAKE)
+ MPI=no LIBS="-Wl,--as-needed" $(MAKE)
More information about the debian-med-commit
mailing list