public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [Bonus-PATCH 10/9] batman-adv-devel: Don't overwrite batctl's CFLAGS
@ 2013-05-08  7:21 Sven Eckelmann
  2013-05-08  7:21 ` [B.A.T.M.A.N.] [Bonus-PATCH 11/9] batman-adv-devel: Remove unused parameters from MAKE_BATCTL_ARGS Sven Eckelmann
  2013-05-12  7:53 ` [B.A.T.M.A.N.] [Bonus-PATCH 10/9] batman-adv-devel: Don't overwrite batctl's CFLAGS Marek Lindner
  0 siblings, 2 replies; 4+ messages in thread
From: Sven Eckelmann @ 2013-05-08  7:21 UTC (permalink / raw)
  To: b.a.t.m.a.n; +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 <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 \
-- 
1.8.2.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-12  7:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-08  7:21 [B.A.T.M.A.N.] [Bonus-PATCH 10/9] batman-adv-devel: Don't overwrite batctl's CFLAGS Sven Eckelmann
2013-05-08  7:21 ` [B.A.T.M.A.N.] [Bonus-PATCH 11/9] batman-adv-devel: Remove unused parameters from MAKE_BATCTL_ARGS Sven Eckelmann
2013-05-12  7:56   ` Marek Lindner
2013-05-12  7:53 ` [B.A.T.M.A.N.] [Bonus-PATCH 10/9] batman-adv-devel: Don't overwrite batctl's CFLAGS Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox