summaryrefslogtreecommitdiff
path: root/external/glew/glew-debug.patch.1
blob: c6e30a4783109f72d3b305ab23bdaff3ad37d1df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
-*- 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)