diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-26 08:47:46 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-26 08:48:05 +0200 |
commit | 5da85a21241f09a0b2d7796bc952806a1a863592 (patch) | |
tree | 332bbb7a30372195be486352fa1e45c4bb0017bd /external | |
parent | 1d5e875a6c61ddc9fbf0ed09878b7dfb75f89fe3 (diff) |
external/libgltf: Hack in missing -fPIC
Change-Id: Ied0fe5f376bf17bd931f440e57d15b22ab6db86e
Diffstat (limited to 'external')
-rw-r--r-- | external/libgltf/ExternalProject_libgltf.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/external/libgltf/ExternalProject_libgltf.mk b/external/libgltf/ExternalProject_libgltf.mk index 580c0102889d..3b0bc87a649d 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) \ ) |