[LEDE-DEV] "someone does not honour COPTS correctly" - Makefile issue?

Yousong Zhou yszhou4tech at gmail.com
Sun Nov 13 21:28:08 PST 2016


On 14 November 2016 at 01:21, Sebastian Kemper <sebastian_ml at gmx.net> wrote:
> Hi all,
>
> I'm working on a package for OpenWRT/LEDE. A pull request with the
> Makefile is here: https://github.com/openwrt/telephony/pull/124/files
>
> During compilation I see a lot of these warnings:
>
> cc1: note: someone does not honour COPTS correctly, passed 4 times
>
> Are these caused by my Makefile or by the FreeSWITCH source? If caused
> by the Makefile, how can I fix them?

It's most likely that the info from cc1 is harmless.  They come from a
feature patch applied to the toolchain to catch the case where
upstream package Makefile overrides instead of appending to CFLAGS
variable.  You can find the patch by searching through toolchain/
subdir for the text "someone does not honour COPTS correctly" and see
if you want to quash them.

Cheers,
                yousong

>
> Thanks!
> Sebastian
>
> _______________________________________________
> Lede-dev mailing list
> Lede-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev



More information about the Lede-dev mailing list