Fix cross compiling on OS X.

- The OS X specific flags must not be set when cross compiling. Check for a
  MinGW compiler on OS X before adding them.
- Do not set CC explicitly in chinachippatcher, it will be set from Rockbox
  Utility's Makefile.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31527 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2012-01-02 17:45:16 +00:00
parent d7b8b10fec
commit 1f0e653038
2 changed files with 2 additions and 1 deletions

View file

@ -7,7 +7,6 @@
# $Id$
#
CFLAGS = -g -Wall
CC = gcc
OUTPUT = chinachippatcher