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 What do we do ? --vj -- View this message in context: http://gnu-autoconf.7623.n7.nabble.com/How-to-let-autoconf-NOT-include-CFLAGS-in-LINK-tp6155p18566.html Sent from the Gnu - Autoconf - General mailing list archive at Nabble.com. _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx https://lists.gnu.org/mailman/listinfo/autoconf