This is the mail archive of the automake-prs@sources.redhat.com mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: automake/315: per program CFLAGS broken


The following reply was made to PR automake/315; it has been noted by GNATS.

From: Alexandre Duret-Lutz <duret_g@lrde.epita.fr>
To: Gustavo Carneiro <gjc@inescporto.pt>
Cc: adl@sources.redhat.com, automake-gnats@sources.redhat.com,
   richard@tartarus.org, tromey@redhat.com
Subject: Re: automake/315: per program CFLAGS broken
Date: Mon, 22 Apr 2002 19:29:29 +0200

 >>> "Gustavo" == Gustavo Carneiro <gjc@inescporto.pt> writes:
 
 [...]
 
  Gustavo> I have tried your workaround, but it didn't work. I added:
  Gustavo> qosm_serv_SRCS=$(qosm_SRCS)
  Gustavo> qosm_te_SRCS=$(qosm_SRCS)
 
 No no, the bug is that you can't use the same variable
 ($(qosm_SRCS)) in the sources for two programs with per-targets
 CFLAGS.  Adding one level of indirection doesn't help, the
 variable is still shared.
 
 What I was suggesting is to duplicate its content:
 
 qosm_serv_SRCS = qos-manager.cc qos-manager-daemon.hh ... etc.
 qosm_te_SRCS   = qos-manager.cc qos-manager-daemon.hh ... etc.
 
 Inderstand why I said "ugly"?
 
 [...]
 -- 
 Alexandre Duret-Lutz
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]