Rosen Penev <[email protected]> [2019-02-19 13:01:57]:

> -TARGET_CFLAGS += $(FPIC)

Why did you removed this? I can see, that you've added --with-pic configure
option, but I'm wondering if it's going to provide same result on all
platforms.

> +TARGET_LDFLAGS += -Wl,--gc-sections

I'm not sure whether this is a good idea on library, or is it?

> +     --disable-libevent-regress \

I'm wondering how this might reduce the binary size. It might be enabled by
default for some reason, so I'm not sure if disabling regression tests for
saving some build time (BTW how much?) is a good idea.

You've forget to add on which platforms you've build and run tested this
change, and mainly on which platform you're seeing this 4KB size reduction.

-- ynezz

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to