The batctl makefile has CFLAGS which change the behavior of the compiler. This includes important things like the C-dialect used or whether the compiler can ignore aliasing problems during the optimization step.
The OpenWRT build environment should not overwrite these settings without a good reason. Most of these reasons can probably directly be fixed upstream.
Signed-off-by: Sven Eckelmann sven@narfation.org --- batman-adv-devel/Makefile | 3 --- 1 file changed, 3 deletions(-)
diff --git a/batman-adv-devel/Makefile b/batman-adv-devel/Makefile index cad95c6..fb2c24a 100644 --- a/batman-adv-devel/Makefile +++ b/batman-adv-devel/Makefile @@ -65,9 +65,6 @@ MAKE_BATMAN_ADV_ARGS += \ REVISION="$(PKG_BATMAN_SHORTREV)" all
MAKE_BATCTL_ARGS += \ - CFLAGS="$(TARGET_CFLAGS)" \ - CCFLAGS="$(TARGET_CFLAGS)" \ - OFLAGS="$(TARGET_CFLAGS)" \ REVISION="$(PKG_BATCTL_SHORTREV)" \ CC="$(TARGET_CC)" \ NODEBUG=1 \