Kaydet (Commit) 68baa264 authored tarafından Zolnai Tamás's avatar Zolnai Tamás

Try to fix mac build: use -arch flag to configure freetype

Change-Id: Ibc1fb03405c3dc0df952f96ecd9b2a4438c9c627
üst 04fc3bc9
......@@ -29,7 +29,8 @@ $(call gb_ExternalProject_get_state_target,freetype,build) :
--without-bzip2 \
--prefix=$(call gb_UnpackedTarball_get_dir,freetype/instdir) \
--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) \
CFLAGS="$(if $(debug),-g) $(gb_VISIBILITY_FLAGS)" \
CFLAGS="$(if $(debug),-g) $(gb_VISIBILITY_FLAGS) $(if $(filter MACOSX,$(OS)),-arch i386 -arch x86_64)" \
$(if $(filter MACOSX,$(OS)),LDFLAGS="-arch i386 -arch x86_64") \
&& chmod +x builds/unix/freetype-config \
&& $(MAKE) install \
&& touch $@ )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment