Re: Automake passing CFLAGS or CXXFLAGS when linking

2016-07-19 Thread Grégory Pakosz
> wrote: >> On Tue, 28 Jun 2016, Grégory Pakosz wrote: >> >>> Hello, >>> >>> What's the rationale behind Automake passing CFLAGS or CXXFLAGS when >>> linking? >>> >>> LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \

Re: Automake passing CFLAGS or CXXFLAGS when linking

2016-07-02 Thread Grégory Pakosz
onale behind Automake passing CFLAGS or CXXFLAGS when >> linking? >> >> LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ >> $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ >> $(AM_LDFLAGS) $(LDFLAGS) -o $@ > > > Notice that these lines a

Re: Automake passing CFLAGS or CXXFLAGS when linking

2016-07-01 Thread Bob Friesenhahn
On Tue, 28 Jun 2016, Grégory Pakosz wrote: Hello, What's the rationale behind Automake passing CFLAGS or CXXFLAGS when linking? LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ N

Re: Automake passing CFLAGS or CXXFLAGS when linking

2016-06-30 Thread Mike Miller
On Tue, Jun 28, 2016 at 19:21:45 +0200, Grégory Pakosz wrote: > Hello, > > What's the rationale behind Automake passing CFLAGS or CXXFLAGS when linking? > > LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ > $(LIBTOOLFLAGS) --mode=link $(CCLD

Automake passing CFLAGS or CXXFLAGS when linking

2016-06-28 Thread Grégory Pakosz
Hello, What's the rationale behind Automake passing CFLAGS or CXXFLAGS when linking? LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ CXXLINK = $(LIBTOOL) $(AM_V_lt) --ta