external/libgltf: Hack in missing -fPIC

Change-Id: Ied0fe5f376bf17bd931f440e57d15b22ab6db86e
This commit is contained in:
Stephan Bergmann
2014-06-26 08:47:46 +02:00
parent 1d5e875a6c
commit 5da85a2124

View File

@@ -63,6 +63,7 @@ $(call gb_ExternalProject_get_state_target,libgltf,build) :
BOOST_CFLAGS="$(if $(SYSTEM_BOOST),$(BOOST_CPPFLAGS),-I$(call gb_UnpackedTarball_get_dir,boost)) -I$(BUILDDIR)/config_$(gb_Side)" \
GLEW_CFLAGS="$(if $(SYSTEM_GLEW),$(GLEW_CFLAGS),-I$(call gb_UnpackedTarball_get_dir,glew)/include)" \
GLM_CFLAGS="$(if $(SYSTEM_GLM),$(GLM_CFLAGS),-I$(call gb_UnpackedTarball_get_dir,glm))" \
$(if $(filter WNT,$(OS)),,CC="$(CC) -fPIC") \
&& $(MAKE) \
)