external/libgltf: Hack in missing -fPIC
Change-Id: Ied0fe5f376bf17bd931f440e57d15b22ab6db86e
This commit is contained in:
1
external/libgltf/ExternalProject_libgltf.mk
vendored
1
external/libgltf/ExternalProject_libgltf.mk
vendored
@@ -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) \
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user