summaryrefslogtreecommitdiff
path: root/package/libglew/patches/patch-Makefile
blob: 9223c9ae84a1b3d6e729be9744c396abcda29ae9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- glew-1.10.0.orig/Makefile	2013-07-22 16:11:22.000000000 +0200
+++ glew-1.10.0/Makefile	2013-07-30 13:16:20.000000000 +0200
@@ -71,7 +71,8 @@ else
 OPT = $(POPT)
 endif
 INCLUDE = -Iinclude
-CFLAGS = $(OPT) $(WARN) $(INCLUDE) $(CFLAGS.EXTRA)
+CFLAGS ?= $(OPT) $(WARN) $(CFLAGS.EXTRA)
+CFLAGS += $(INCLUDE)
 
 all debug: glew.lib glew.lib.mx glew.bin