MacOSX build

Klaus Rechert klaus.rechert at
Mon May 16 20:58:36 UTC 2011

> some quick notes on the MacOSX build. Current git builds fine using 
> the perbuilt GNUARM MacOS toolchain except that GCC 3.3 does not 
> support the option -Wextra. 

-Wextra was formerly known as -w and is still supported (cf.
Maybe this can be changed to support older toolchains. However, it is a 
minor issue.


diff --git a/src/target/firmware/ 
index 1f54031..3783355 100644
--- a/src/target/firmware/
+++ b/src/target/firmware/
@@ -12,7 +12,7 @@ OBJCOPY=objcopy

  CFLAGS=-mcpu=arm7tdmi $(INCLUDES)
-CFLAGS += -Wall -Wextra -Wcast-align -Wimplicit -Wunused
+CFLAGS += -Wall -w -Wcast-align -Wimplicit -Wunused
  CFLAGS += -Wswitch -Wredundant-decls -Wreturn-type -Wshadow 
  CFLAGS += -Wbad-function-cast -Wsign-compare -Waggregate-return
  CFLAGS += -Os -ffunction-sections

More information about the baseband-devel mailing list