OSDN Git Service

targets: Add missing quotes to Makefile.xorg.
authorChia-I Wu <olv@lunarg.com>
Fri, 29 Oct 2010 04:59:45 +0000 (12:59 +0800)
committerChia-I Wu <olv@lunarg.com>
Fri, 29 Oct 2010 05:00:12 +0000 (13:00 +0800)
Fix

  $ make CC="ccache gcc"

src/gallium/targets/Makefile.xorg

index 87eedd7..47040bb 100644 (file)
@@ -42,7 +42,7 @@ endif
 default: depend $(TOP)/$(LIB_DIR)/gallium $(LIBNAME) $(LIBNAME_STAGING)
 
 $(LIBNAME): $(OBJECTS) Makefile ../Makefile.xorg $(LIBS) $(DRIVER_PIPES)
-       $(MKLIB) -linker $(CC) -noprefix -o $@ $(LDFLAGS) $(OBJECTS) $(DRIVER_PIPES) $(GALLIUM_AUXILIARIES) $(DRIVER_LINKS)
+       $(MKLIB) -linker '$(CC)' -noprefix -o $@ $(LDFLAGS) $(OBJECTS) $(DRIVER_PIPES) $(GALLIUM_AUXILIARIES) $(DRIVER_LINKS)
 
 depend: $(C_SOURCES) $(CPP_SOURCES) $(ASM_SOURCES) $(SYMLINKS) $(GENERATED_SOURCES)
        rm -f depend