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 fe1d6d7384181c585927d6936742357191213f10..d1413319c97d8179b94376ea344b2e1df04be0b1 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 ff8f01b32227cc4df7dd5c63226e214948bc0e91..a52957c1a5b2207aa19890145a082b4851bc3af6 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