summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/glew/glew/no-strip.patch
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-02-16 20:56:08 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-18 07:39:30 +0000
commitaea0746cbb7b9d286d12007bd7d2a346f27cfc62 (patch)
treedd79e69f7e95c85c162b8d0eb76af4c69c81175d /meta/recipes-graphics/glew/glew/no-strip.patch
parent0b1c3240ad1c1880740e68312b28f5e83915bd44 (diff)
downloadpoky-aea0746cbb7b9d286d12007bd7d2a346f27cfc62.tar.gz
glew: rewrite to use upstream build system
Instead of patching in a whole new build system using autotools, use the makefile-based system in upstream with careful variable assignments so that it cross-compiles correctly. One small patch was required to stop an unavoidable strip. Upstream does have a cmake-based build but it's not used or supported by the maintainer, and is quite buggy (for example: doesn't version the libraries, fails to link to required libraries). (From OE-Core rev: c77d0dfa18b2467f8856571837e7007f8fcd9b20) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/glew/glew/no-strip.patch')
-rw-r--r--meta/recipes-graphics/glew/glew/no-strip.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-graphics/glew/glew/no-strip.patch b/meta/recipes-graphics/glew/glew/no-strip.patch
new file mode 100644
index 0000000000..e411f11cb5
--- /dev/null
+++ b/meta/recipes-graphics/glew/glew/no-strip.patch
@@ -0,0 +1,12 @@
1Don't forcibly strip the binaries.
2
3Signed-off-by: Ross Burton <ross.burton@intel.com>
4Upstream-Status: Pending
5
6diff --git a/Makefile b/Makefile
7index 6a9803c..170c0ce 100644
8--- a/Makefile
9+++ b/Makefile
10@@ -285 +285 @@ install.bin: glew.bin
11- $(INSTALL) -s -m 0755 bin/$(GLEWINFO.BIN) bin/$(VISUALINFO.BIN) "$(DESTDIR)$(BINDIR)/"
12+ $(INSTALL) -m 0755 bin/$(GLEWINFO.BIN) bin/$(VISUALINFO.BIN) "$(DESTDIR)$(BINDIR)/"