forked from len0rd/rockbox
Fix building universal binaries.
When building various libraries for Rockbox Utility make sure they use the same compiler as Qt. Pass Qt's CC instead of explicitly setting it. This fixes issues linking on OS X (with recent XCode building universal binaries requires the use of gcc-4-0 while the default one is 4.2). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23779 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cca6f747f8
commit
f0d0ba86ff
5 changed files with 7 additions and 17 deletions
|
|
@ -22,10 +22,6 @@ CFLAGS = $(SPEEXOPTS) $(INCLUDES) -O3 -fomit-frame-pointer -Wno-unused-parameter
|
|||
ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN)
|
||||
CFLAGS+=-mno-cygwin
|
||||
endif
|
||||
# on mingw32, make sure CC is set to gcc
|
||||
ifeq ($(findstring MINGW,$(shell uname)),MINGW)
|
||||
CC = gcc
|
||||
endif
|
||||
|
||||
ifdef RBARCH
|
||||
CFLAGS += -arch $(RBARCH)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue