on OpenWrt 19.07 i try to compile my custom package and i get a lot of "
cc1: note: someone does not honour COPTS correctly, passed 0 times" , i think is -fhonour-copts default compiler option related.
What is the real meaning of this note ? is it really -fhonour-copts related ? how can avoid it ?
the following is package Makefile build/compile parts
define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR)/src \ CC="$(TARGET_CC)" \ CFLAGS="$(TARGET_CFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS)" endef
and my application Makefile do not append any CFLAGS
CFLAGS = CPPFLAGS = # Rule for compiling (always first) %.o: %.c $(CC) $(CFLAGS) $< -c -o $@ # Rule for building dependencies from source (always second) %.d: %.c $(CC) -M $(CFLAGS) $< > $@
Any support will be appreciated.
Thanks in advance