Patrick Williams | 93c203f | 2021-10-06 16:15:23 -0500 | [diff] [blame^] | 1 | We don't use the dist-* targets and hence DIST_DIR isn't used. The current code |
| 2 | creates a new temp directory in /tmp/ for every invocation of make. Lets |
| 3 | not do that. |
| 4 | |
| 5 | Upstream-Status: Pending [a revised version would be needed for upstream] |
| 6 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> |
| 7 | |
| 8 | Index: glew-2.2.0/Makefile |
| 9 | =================================================================== |
| 10 | --- glew-2.2.0.orig/Makefile |
| 11 | +++ glew-2.2.0/Makefile |
| 12 | @@ -56,7 +56,6 @@ DIST_SRC_ZIP ?= $(shell pwd)/$(DIST_NAME |
| 13 | DIST_SRC_TGZ ?= $(shell pwd)/$(DIST_NAME).tgz |
| 14 | DIST_WIN32 ?= $(shell pwd)/$(DIST_NAME)-win32.zip |
| 15 | |
| 16 | -DIST_DIR := $(shell mktemp -d /tmp/glew.XXXXXX)/$(DIST_NAME) |
| 17 | |
| 18 | # To disable stripping of linked binaries either: |
| 19 | # - use STRIP= on gmake command-line |