diff options
Diffstat (limited to 'external/glew')
-rw-r--r-- | external/glew/ExternalProject_glew.mk | 2 | ||||
-rw-r--r-- | external/glew/UnpackedTarball_glew.mk | 1 | ||||
-rw-r--r-- | external/glew/glew-ar-lto.patch.1 | 28 |
3 files changed, 1 insertions, 30 deletions
diff --git a/external/glew/ExternalProject_glew.mk b/external/glew/ExternalProject_glew.mk index a26a0c6a4dee..bb78dce2977e 100644 --- a/external/glew/ExternalProject_glew.mk +++ b/external/glew/ExternalProject_glew.mk @@ -27,7 +27,7 @@ else $(call gb_ExternalProject_get_state_target,glew,build) : $(call gb_ExternalProject_run,glew,\ - $(if $(ENABLE_DEBUG),STRIP=) LD="$(CC)" AR_FLAGS="$(AR_FLAGS)" \ + $(if $(ENABLE_DEBUG),STRIP=) LD="$(CC)" \ $(MAKE) STRIP= glew.lib $(if $(filter DESKTOP,$(BUILD_TYPE)),$(if $(ENABLE_DEBUG),debug)) \ ) diff --git a/external/glew/UnpackedTarball_glew.mk b/external/glew/UnpackedTarball_glew.mk index 491117860d57..3b1a5a187361 100644 --- a/external/glew/UnpackedTarball_glew.mk +++ b/external/glew/UnpackedTarball_glew.mk @@ -38,7 +38,6 @@ endif ifeq ($(DISABLE_DYNLOADING),TRUE) $(eval $(call gb_UnpackedTarball_add_patches,glew,\ external/glew/glew-static-only.patch.1 \ - external/glew/glew-ar-lto.patch.1 \ )) endif diff --git a/external/glew/glew-ar-lto.patch.1 b/external/glew/glew-ar-lto.patch.1 deleted file mode 100644 index 36af0a0f39f5..000000000000 --- a/external/glew/glew-ar-lto.patch.1 +++ /dev/null @@ -1,28 +0,0 @@ ---- a/Makefile.orig 2016-01-19 14:38:00.124312444 -0500 -+++ b/Makefile 2016-01-19 14:39:00.728011296 -0500 -@@ -67,6 +67,7 @@ - # - use LN= on gmake command-line - - AR ?= ar -+AR_FLAGS ?= cr - INSTALL ?= install - STRIP ?= strip - RM ?= rm -f -@@ -106,7 +107,7 @@ - mkdir lib - - lib/$(LIB.STATIC): $(LIB.OBJS) -- $(AR) cr $@ $^ -+ $(AR) $(AR_FLAGS) $@ $^ - ifneq ($(STRIP),) - $(STRIP) -x $@ - endif -@@ -150,7 +151,7 @@ - glew.lib.mx: lib lib/$(LIB.SHARED.MX) lib/$(LIB.STATIC.MX) glewmx.pc - - lib/$(LIB.STATIC.MX): $(LIB.OBJS.MX) -- $(AR) cr $@ $^ -+ $(AR) $(AR_FLAGS) $@ $^ - - lib/$(LIB.SHARED.MX): $(LIB.SOBJS.MX) - $(LD) $(LDFLAGS.SO.MX) -o $@ $^ $(LIB.LDFLAGS) $(LIB.LIBS) |