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