diff options
author | Jens Arnold <amiconn@rockbox.org> | 2010-03-20 08:53:27 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2010-03-20 08:53:27 +0000 |
commit | eef14e3b5b3a5bcba53cc9eb03e65299d961d318 (patch) | |
tree | fdfa77344fdcf1e1d89f7fee0c173aea09e70dcb | |
parent | 2bc9b067028eac40780ab6b8138aea4ec23f9eb6 (diff) | |
download | rockbox-eef14e3b5b3a5bcba53cc9eb03e65299d961d318.tar.gz rockbox-eef14e3b5b3a5bcba53cc9eb03e65299d961d318.zip |
Filter out -g in PPCFLAGS. Some (older?) gcc versions add a comment when building dependency files and -g is present. The proper solution would be to make addtargetdir.pl handle (strip) comment lines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25253 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | tools/root.make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/root.make b/tools/root.make index 4bf1a32728..f2373f5f7d 100644 --- a/tools/root.make +++ b/tools/root.make @@ -16,7 +16,7 @@ DEFINES = -DROCKBOX -DMEMORYSIZE=$(MEMORYSIZE) -DMEM=$(MEMORYSIZE) $(TARGET) \ INCLUDES = -I$(BUILDDIR) -I$(BUILDDIR)/lang $(TARGET_INC) CFLAGS = $(INCLUDES) $(DEFINES) $(GCCOPTS) -PPCFLAGS = $(filter-out -Dmain=SDL_main,$(CFLAGS)) # cygwin sdl-config fix +PPCFLAGS = $(filter-out -g -Dmain=SDL_main,$(CFLAGS)) # cygwin sdl-config fix TOOLS = $(TOOLSDIR)/rdf2binary $(TOOLSDIR)/convbdf \ $(TOOLSDIR)/codepages $(TOOLSDIR)/scramble $(TOOLSDIR)/bmp2rb \ |