respect cc and cflags
authorDave Airlie <airlied@linux.ie>
Sun, 7 Nov 2004 02:15:11 +0000 (02:15 +0000)
committerDave Airlie <airlied@linux.ie>
Sun, 7 Nov 2004 02:15:11 +0000 (02:15 +0000)
libdrm/Makefile

index cc62b54..8a7ece8 100644 (file)
@@ -6,7 +6,7 @@ libxf86drm.a:   $(OBJECTS)
        ranlib $@
 
 $(OBJECTS):    $(SOURCES)
-       gcc -c -I../shared -I../linux $+
+       $(CC) $(CFLAGS) -c -I../shared -I../linux $+
 
 clean:
        rm *.a *.o