Hi Peter (and others),

On Sat, Apr 10, 2010 at 12:05:03PM +0300, Peter Eisentraut wrote:
On tor, 2010-04-08 at 21:25 +0200, Jonas Smedegaard wrote:

On Thu, Apr 08, 2010 at 09:14:26AM -0700, Daniel Schepler wrote:

>From my pbuilder build log for abiword:

>cd . && CC="gcc" CC="-Wl,--as-needed" [...]

>This appears to be the result from debian/rules setting
>CC := gcc -Wl,--as-needed
>and similarly for CXX.  This used to work fine.

Indeed that is the cause. And it is wrong use of CDBS, so no surprise that it fails now that CDBS recently have tightened its CC handling.

Abiword should instead use something like this instead:

CFLAGS += -Wl,--as-needed

While using CFLAGS here is probably better, there are other valid uses for having a multiword CC, and that case is apparently still broken.

Let's separate abuse and valid use:

Please file a separate bugreport against cdbs with a concrete example of such valid use of multi-word CC.


Kind regards,

 - Jonas

--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: Digital signature

Reply via email to