[Libreoffice-commits] core.git: external/libgltf

Stephan Bergmann sbergman at redhat.com
Wed Jun 25 23:48:42 PDT 2014


 external/libgltf/ExternalProject_libgltf.mk |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 5da85a21241f09a0b2d7796bc952806a1a863592
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Jun 26 08:47:46 2014 +0200

    external/libgltf: Hack in missing -fPIC
    
    Change-Id: Ied0fe5f376bf17bd931f440e57d15b22ab6db86e

diff --git a/external/libgltf/ExternalProject_libgltf.mk b/external/libgltf/ExternalProject_libgltf.mk
index 580c010..3b0bc87 100644
--- a/external/libgltf/ExternalProject_libgltf.mk
+++ b/external/libgltf/ExternalProject_libgltf.mk
@@ -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) \
 	)
 


More information about the Libreoffice-commits mailing list