Il 11/10/2010 13:59, Florian Fainelli ha scritto:
I'm not using an external toolchain, however I'm getting this error:

cc1plus: error: unrecognized command line option "-fhonour-copts"
Ok, but that means you have patched your toolchain not to include the -
fhonour-opts patch right?
No, I haven't patched the toolchain. Where is this patch located?
Is it 910-mbsd_multi.patch? If so the patch is there.
when I try to compile a package. The makefile that I'm using is very
lightweight:

EXTRA_CFLAGS=-MD -fno-stack-protector


CONFIGURE_ARGS += \
      --enable-userlevel \
      --enable-wifi \
      --enable-wing \
      --disable-linuxmodule \
      --disable-dynamic-linking \

and then the default compile and configure.

This when building from trunk with either gcc 4.1.2 (the default one) and
4.4.4.
Unless this is either the fhonour-copts patch missing in gcc-4.4.4 or, a
porting bug which prevents its use when -fno-stack-protector, I do not see
what is wrong.

I've removed the -fnostack-protector and I'm still getting the same
error (gcc 4.1.2).


--
Florian

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to