1
0
Fork 0
forked from len0rd/rockbox

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 # We use the SB code available in the Rockbox utils/sbtools directory
IMXTOOLS_DIR=../../utils/imxtools/ IMXTOOLS_DIR=../../utils/imxtools/
CFLAGS = -I$(IMXTOOLS_DIR) -Wall CFLAGS += -I$(IMXTOOLS_DIR) -Wall
CFLAGS += -std=c99 CFLAGS += -std=c99
OUTPUT = mkimxboot OUTPUT = mkimxboot

View file

@ -7,7 +7,7 @@
TARGET_DIR ?= $(shell pwd)/ TARGET_DIR ?= $(shell pwd)/
# We use the UCL code available in the Rockbox tools/ directory # 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 OUTPUT = mkmpioboot

View file

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

View file

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

View file

@ -16,7 +16,7 @@ SPEEXSRC = ../../apps/codecs/libspeex
INCLUDES = -I $(SPEEXSRC) INCLUDES = -I $(SPEEXSRC)
SPEEXOPTS = -DHAVE_CONFIG_H -DROCKBOX_VOICE_ENCODER 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 #build standalone win32 executables on cygwin
ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN) ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN)