diff options
author | Ross Burton <ross.burton@intel.com> | 2016-02-16 20:56:08 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-18 07:39:30 +0000 |
commit | aea0746cbb7b9d286d12007bd7d2a346f27cfc62 (patch) | |
tree | dd79e69f7e95c85c162b8d0eb76af4c69c81175d /meta/recipes-graphics/glew/glew/no-strip.patch | |
parent | 0b1c3240ad1c1880740e68312b28f5e83915bd44 (diff) | |
download | openembedded-core-contrib-aea0746cbb7b9d286d12007bd7d2a346f27cfc62.tar.gz openembedded-core-contrib-aea0746cbb7b9d286d12007bd7d2a346f27cfc62.tar.bz2 openembedded-core-contrib-aea0746cbb7b9d286d12007bd7d2a346f27cfc62.zip |
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.patch | 12 |
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 @@ +Don't forcibly strip the binaries. + +Signed-off-by: Ross Burton <ross.burton@intel.com> +Upstream-Status: Pending + +diff --git a/Makefile b/Makefile +index 6a9803c..170c0ce 100644 +--- a/Makefile ++++ b/Makefile +@@ -285 +285 @@ install.bin: glew.bin +- $(INSTALL) -s -m 0755 bin/$(GLEWINFO.BIN) bin/$(VISUALINFO.BIN) "$(DESTDIR)$(BINDIR)/" ++ $(INSTALL) -m 0755 bin/$(GLEWINFO.BIN) bin/$(VISUALINFO.BIN) "$(DESTDIR)$(BINDIR)/" |