Kaydet (Commit) f3a46244 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Make it actually work to build GLEW for debugging

The check in the GLEW Makefile looked at the whole $(MAKECMDGOALS),
which in our case was the string 'glew.lib debug', not just 'debug'.

Change-Id: I639395c944e8f2b443cbb55b451a4036b2c9d3bb
üst 1df54514
...@@ -48,4 +48,8 @@ $(eval $(call gb_UnpackedTarball_add_patches,glew,\ ...@@ -48,4 +48,8 @@ $(eval $(call gb_UnpackedTarball_add_patches,glew,\
)) ))
endif endif
$(eval $(call gb_UnpackedTarball_add_patches,glew,\
external/glew/glew-debug.patch.1 \
))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
-*- Mode: Diff -*-
--- glew/Makefile
+++ glew/Makefile
@@ -65,7 +65,7 @@
RM ?= rm -f
LN ?= ln -sf
-ifeq ($(MAKECMDGOALS), debug)
+ifneq (,$(filter debug,$(MAKECMDGOALS)))
OPT = -g
else
OPT = $(POPT)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment