libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1.5] testsuite failures: missing AM_PROG_CC_C_O


From: Alexandre Duret-Lutz
Subject: Re: [PATCH 1.5] testsuite failures: missing AM_PROG_CC_C_O
Date: Fri, 10 Sep 2004 09:34:06 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

>>> "Ralf" == Ralf Wildenhues <address@hidden> writes:

[...]
 >> >>Some of the tests in the branch-1-5 testsuite fail with recent CVS
 >> >>Automake, because they have objects with per-target flags which are
 >> >>not Libtool objects.  A current Automake complains, which makes
 >> >>several tests fail.  The trivial patch below fixes this.
[...]
 Ralf> Well.  I'm sorry for being less verbose in my bug report, and for not
 Ralf> looking enough at which program's fault this is.  But: CVS HEAD Automake
 Ralf> still fails on the files libtool-1.5/{demo,pdemo}/Makefile.am with

 >> Makefile.am: C objects with per-target flags but `AM_PROG_CC_C_O' not in 
 >> `configure.ac'

 Ralf> So then this must be a bug in Automake, right?

No.  Your patch and initial explanation look correct to me.

Another way (untested) to fix {,p}demo/Makefile.am would be to rename
libhell0_a_CFLAGS = $(AM_CFLAGS)
into 
libhell1_la_CFLAGS = $(AM_CFLAGS)
so that per-targets flags apply to libtool objects (which won't
need AM_PROG_CC_C_O).

-- 
Alexandre Duret-Lutz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]