Allow passing additional CFLAGS.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31524 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2012-01-02 16:59:26 +00:00
parent 8c6c6a6b20
commit c5530d9258
5 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@
# We use the SB code available in the Rockbox utils/sbtools directory
IMXTOOLS_DIR=../../utils/imxtools/
CFLAGS = -I$(IMXTOOLS_DIR) -Wall
CFLAGS += -I$(IMXTOOLS_DIR) -Wall
CFLAGS += -std=c99
OUTPUT = mkimxboot

View File

@ -7,7 +7,7 @@
TARGET_DIR ?= $(shell pwd)/
# We use the UCL code available in the Rockbox tools/ directory
CFLAGS = -I../../tools/ucl/include -Wall
CFLAGS += -I../../tools/ucl/include -Wall
OUTPUT = mkmpioboot

View File

@ -9,7 +9,7 @@
# We use the Telechips code available in the Rockbox tools/ directory
TOOLSDIR = ../../tools/
CFLAGS := -O -g -W -Wall -Wshadow -pedantic -I$(TOOLSDIR)
CFLAGS += -O -g -W -Wall -Wshadow -pedantic -I$(TOOLSDIR)
OUTPUT = mktccboot

View File

@ -3,7 +3,7 @@ ifndef V
SILENT = @
endif
CFLAGS=-Wall -W -D_LARGEFILE64_SOURCE
CFLAGS += -Wall -W -D_LARGEFILE64_SOURCE
ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN)
CROSS=

View File

@ -16,7 +16,7 @@ SPEEXSRC = ../../apps/codecs/libspeex
INCLUDES = -I $(SPEEXSRC)
SPEEXOPTS = -DHAVE_CONFIG_H -DROCKBOX_VOICE_ENCODER
CFLAGS = $(SPEEXOPTS) $(INCLUDES) -O3 -fomit-frame-pointer -Wno-unused-parameter
CFLAGS += $(SPEEXOPTS) $(INCLUDES) -O3 -fomit-frame-pointer -Wno-unused-parameter
#build standalone win32 executables on cygwin
ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN)