summaryrefslogtreecommitdiff
path: root/package/MesaLib/patches/patch-src_glsl_apps_Makefile
blob: 76d23d7bf1dc48721e16dc1cd98ebba54211b505 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- Mesa-7.8.1.orig/src/glsl/apps/Makefile	2010-04-05 01:46:26.000000000 +0200
+++ Mesa-7.8.1/src/glsl/apps/Makefile	2010-05-25 17:38:03.594714854 +0200
@@ -26,10 +26,10 @@ INCLUDES = -I.
 .SUFFIXES: .c
 
 .c:
-	$(APP_CC) $(INCLUDES) $(CFLAGS) $(LDFLAGS) $< $(LIBS) -o $@
+	$(APP_CC) $(HOSTCFLAGS) $< $(LIBS) -o $@
 
 .c.o:
-	$(APP_CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@
+	$(APP_CC) -c $(HOSTCFLAGS) $(DEFINES) $< -o $@
 
 
 ##### TARGETS #####