[Pkg-lyx-devel] svn commit: r206 - in /lyx/trunk/debian: changelog rules

pelle at users.alioth.debian.org pelle at users.alioth.debian.org
Wed Oct 25 19:04:56 CEST 2006


Author: pelle
Date: Wed Oct 25 17:04:56 2006
New Revision: 206

URL: http://svn.debian.org/wsvn/pkg-lyx/?sc=1&rev=206
Log:
* Added -Wl,--as-needed to LDFLAGS.

Modified:
    lyx/trunk/debian/changelog
    lyx/trunk/debian/rules

Modified: lyx/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-lyx/lyx/trunk/debian/changelog?rev=206&op=diff
==============================================================================
--- lyx/trunk/debian/changelog (original)
+++ lyx/trunk/debian/changelog Wed Oct 25 17:04:56 2006
@@ -6,7 +6,10 @@
   * Adding texlive-latex-base as an alternative Build-Dep
     (wished by Gudjon I. Gudjonsson)
   
- --
+  [ Per Olofsson ]
+  * Added -Wl,--as-needed to LDFLAGS.
+  
+ -- Per Olofsson <pelle at debian.org>  Wed, 25 Oct 2006 19:03:51 +0200
 
 lyx (1.4.3-1) unstable; urgency=low
 

Modified: lyx/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-lyx/lyx/trunk/debian/rules?rev=206&op=diff
==============================================================================
--- lyx/trunk/debian/rules (original)
+++ lyx/trunk/debian/rules Wed Oct 25 17:04:56 2006
@@ -43,6 +43,8 @@
 	CFLAGS += -ffunction-sections
 endif
 
+LDFLAGS += -Wl,--as-needed
+
 debian/control: debian/control.in debian/control.qt debian/control.xforms debian/control.gtk
 	set -e; \
 	build_deps=""; \
@@ -69,7 +71,8 @@
 		|| ln -s /usr/share/misc/config.guess config/config.guess
 
 	test -d build-tree || mkdir build-tree
-	cd build-tree && CXXFLAGS="$(CFLAGS)" ../configure $(CONFIGURE_OPTIONS)
+	cd build-tree && CXXFLAGS="$(CFLAGS)" \
+		LDFLAGS="$(LDFLAGS)" ../configure $(CONFIGURE_OPTIONS)
 	cd build-tree && $(MAKE)
 	touch build-stamp
 




More information about the Pkg-lyx-devel mailing list