Re: How to NOT include ($CFLAGS) in LINK?

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

 



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@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux