On 1.7.2016 16:32, JASON TILLEY wrote:
> I have been editing my Makefile since the original post, so the linker
> is no longer getting ‘-lm -lcsa’. The final lines now look like this:
>
> /bin/sh ./libtool --tag=CC --mode=link /opt/local/bin/gcc -O2 -m64
> -fPIC -g -Wall -L/opt/local/lib -o c
I have been editing my Makefile since the original post, so the linker is no
longer getting ‘-lm -lcsa’. The final lines now look like this:
/bin/sh ./libtool --tag=CC --mode=link /opt/local/bin/gcc -O2 -m64 -fPIC -g
-Wall -L/opt/local/lib -o csabathy src/csabathy-csa.o src/csabathy-svd.o
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 $@
Notice that