On 03/01/2013 09:25 AM, Vania Joloboff wrote:
We have exactly the same problem

We want to compile code with CFLAGS = -march=armv5t -mthumb
-mthumb-interwork

but we do not want to link with these options because they actually produce
a different executable that we do not want

We want to have only AM_LDFLAGS and LDFLAGS when linking, not CFLAGS
This means, your toolchain is broken or your CFLAGS are wrong.

What do we do ?
Likely something CFLAGS=-Wl,<whatever> or similar could work.

Ralf




_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
https://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to