From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Sven Eckelmann Date: Wed, 8 May 2013 09:21:25 +0200 Message-Id: <1367997686-12331-1-git-send-email-sven@narfation.org> Subject: [B.A.T.M.A.N.] [Bonus-PATCH 10/9] batman-adv-devel: Don't overwrite batctl's CFLAGS Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: b.a.t.m.a.n@lists.open-mesh.org Cc: Sven Eckelmann 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 --- 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 \ -- 1.8.2.1