Package: dash
Version: 0.5.5.1-7
Severity: wishlist
Tags: patch

In Debian main mechanism for providing building flags when building
packages is by using /etc/dpkg/buildflags.conf.

This file is readed by dpkg-buildpackage, and nacassary
environment variables are created before debian/rules
is executed.

dash's debian/rules, unconditionally overwrites all flags.


Single change to debian/rules fixes this. Patch bellow.

Thanks.

--- debian/rules.o      2010-09-09 21:29:41.000000000 +0200
+++ debian/rules        2010-09-09 21:24:11.000000000 +0200
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f

 CC =gcc
-CFLAGS =-g -O2 -Wall
+CFLAGS ?=-g -O2 -Wall
 STRIP =strip

 DEB_HOST_GNU_TYPE =$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to pl_PL.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dash depends on:
ii  debianutils                   3.4        Miscellaneous utilities specific t
ii  dpkg                          1.15.8.4   Debian package management system
ii  libc6                         2.11.2-5   Embedded GNU C Library: Shared lib

dash recommends no packages.

dash suggests no packages.

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to