OSDN Git Service

svga: Scrub Makefiles a bit
authorJakob Bornecrantz <jakob@vmware.com>
Mon, 23 Nov 2009 18:59:02 +0000 (19:59 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Mon, 23 Nov 2009 19:09:00 +0000 (20:09 +0100)
Remove x86 specific hacks. Not that they will ever be used on
none x86 arches, but they are built by default. And the way the
flags where added was a hack.

src/gallium/drivers/svga/Makefile
src/gallium/winsys/drm/vmware/core/Makefile

index fe1d6d7..d141331 100644 (file)
@@ -51,13 +51,7 @@ LIBRARY_INCLUDES = \
        -I$(TOP)/src/gallium/drivers/svga/include
 
 LIBRARY_DEFINES = \
+       -std=gnu99 -fvisibility=hidden \
        -DHAVE_STDINT_H -DHAVE_SYS_TYPES_H
 
-CC = gcc -fvisibility=hidden -msse -msse2
-
-# Set the gnu99 standard to enable anonymous structs in vmware headers.
-#
-CFLAGS = -Wall -Wmissing-prototypes -std=gnu99 -ffast-math \
-       $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) $(ASM_FLAGS)
-
 include ../../Makefile.template
index ff8f01b..a52957c 100644 (file)
@@ -28,20 +28,8 @@ LIBRARY_INCLUDES = \
        $(shell pkg-config libdrm --cflags-only-I)
 
 LIBRARY_DEFINES = \
+       -std=gnu99 -fvisibility=hidden \
        -DHAVE_STDINT_H -D_FILE_OFFSET_BITS=64 \
        $(shell pkg-config libdrm --cflags-only-other)
 
-CC = gcc -fvisibility=hidden -msse -msse2
-
-# Set the gnu99 standard to enable anonymous structs in vmware headers.
-#
-CFLAGS = -Wall -Wmissing-prototypes -std=gnu99 -ffast-math \
-       $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) $(ASM_FLAGS)
-
 include ../../../../Makefile.template
-
-
-symlinks:
-
-
-include depend