PageRenderTime 22ms CodeModel.GetById 17ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/packages/graphics/glew/patches/glew-1.7.0-crosscompile.patch

http://github.com/OpenELEC/OpenELEC.tv
Patch | 31 lines | 30 code | 1 blank | 0 comment | 0 complexity | 3494de0938debfb986a2eaf2eaa08b2c MD5 | raw file
 1diff -Naur glew-1.7.0/config/Makefile.linux glew-1.7.0.patch/config/Makefile.linux
 2--- glew-1.7.0/config/Makefile.linux	2011-08-25 16:17:55.000000000 +0200
 3+++ glew-1.7.0.patch/config/Makefile.linux	2012-01-27 18:52:20.764675791 +0100
 4@@ -1,15 +1,7 @@
 5 NAME = $(GLEW_NAME)
 6-CC = cc
 7-LD = cc
 8 PICFLAG = -fPIC
 9 M_ARCH ?= $(shell uname -m)
10-ifeq (x86_64,${M_ARCH})
11-LDFLAGS.EXTRA = -L/usr/X11R6/lib64
12-LIBDIR = $(GLEW_DEST)/lib64
13-else
14-LDFLAGS.EXTRA = -L/usr/X11R6/lib
15 LIBDIR = $(GLEW_DEST)/lib
16-endif
17 LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
18 LDFLAGS.STATIC = -Wl,-Bstatic
19 LDFLAGS.DYNAMIC = -Wl,-Bdynamic
20diff -Naur glew-1.7.0/Makefile glew-1.7.0.patch/Makefile
21--- glew-1.7.0/Makefile	2012-01-27 18:50:02.004347735 +0100
22+++ glew-1.7.0.patch/Makefile	2012-01-27 18:50:27.970848891 +0100
23@@ -56,7 +56,7 @@
24 
25 AR = ar
26 INSTALL = install
27-STRIP = strip
28+STRIP ?= strip
29 RM = rm -f
30 LN = ln -sf
31 ifeq ($(MAKECMDGOALS), debug)