1
0
Fork 0

build: Add -xobjective-c to the fruity backend section

Like we do for the Quartz backend, we should turn on the -xobjective-c
compiler flag for the Fruity backend.

This does not mean that the backend actually works.
This commit is contained in:
Emmanuele Bassi 2010-10-04 10:52:36 +01:00
parent db5e33d4a5
commit bdb24701f0

View file

@ -455,7 +455,10 @@ osx_source_h_priv = \
$(NULL)
osx_source_c_priv = $(srcdir)/osx/clutter-event-osx.c
if SUPPORT_OSX
# we need to tell the compiler that part of our code base is
# in Objective C
AM_CFLAGS += -xobjective-c
backend_source_h += $(osx_source_h)
@ -481,6 +484,8 @@ fruity_source_h = \
$(NULL)
if SUPPORT_FRUITY
AM_CFLAGS += -xobjective-c
backend_source_c_priv += $(fruity_source_c)
backend_source_h_priv += $(fruity_source_h)