diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-11-09 22:05:26 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-11-09 22:05:40 +0100 |
commit | c4080e41b5e981ce075d91bfb33e5a1c0563822b (patch) | |
tree | aa5177fa0ef05c1d44855435357617001007fd9c /package/libglew/patches/patch-config_Makefile_linux | |
parent | bbc6e172ae9ddde307fc0f58682b18ea791cb554 (diff) |
libglew: update to latest, fix build error with gcc5.x
Diffstat (limited to 'package/libglew/patches/patch-config_Makefile_linux')
-rw-r--r-- | package/libglew/patches/patch-config_Makefile_linux | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/package/libglew/patches/patch-config_Makefile_linux b/package/libglew/patches/patch-config_Makefile_linux index 7b810c7b3..857008caa 100644 --- a/package/libglew/patches/patch-config_Makefile_linux +++ b/package/libglew/patches/patch-config_Makefile_linux @@ -1,12 +1,10 @@ ---- glew-1.10.0.orig/config/Makefile.linux 2013-07-22 16:11:22.000000000 +0200 -+++ glew-1.10.0/config/Makefile.linux 2013-07-30 13:17:09.000000000 +0200 -@@ -1,21 +1,7 @@ +--- glew-1.13.0.orig/config/Makefile.linux 2015-08-10 13:47:22.000000000 +0200 ++++ glew-1.13.0/config/Makefile.linux 2015-11-09 00:29:07.515846709 +0100 +@@ -1,21 +1,6 @@ NAME = $(GLEW_NAME) -CC = cc -LD = cc -+CC ?= cc -+LD = $(CC) - M_ARCH ?= $(shell uname -m) +-M_ARCH ?= $(shell uname -m) -ARCH64 = false -ifeq (x86_64,${M_ARCH}) - ARCH64 = true @@ -21,6 +19,8 @@ - LDFLAGS.EXTRA = -L/usr/X11R6/lib -L/usr/lib - LIBDIR = $(GLEW_DEST)/lib -endif - LDFLAGS.GL = -lXmu -lXi -lGL -lXext -lX11 ++CC ?= cc ++LD = $(CC) + LDFLAGS.GL = -lGL -lX11 LDFLAGS.STATIC = -Wl,-Bstatic LDFLAGS.DYNAMIC = -Wl,-Bdynamic |