Module: Mesa
Branch: mesa_7_7_branch
Commit: 86710c3334850eeaeffcac6d538e01fd5c203167
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=86710c3334850eeaeffcac6d538e01fd5c203167

Author: Jakob Bornecrantz <[email protected]>
Date:   Mon Nov 23 19:59:02 2009 +0100

svga: Scrub Makefiles a bit

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           |    8 +-------
 src/gallium/winsys/drm/vmware/core/Makefile |   14 +-------------
 2 files changed, 2 insertions(+), 20 deletions(-)

diff --git a/src/gallium/drivers/svga/Makefile 
b/src/gallium/drivers/svga/Makefile
index fe1d6d7..d141331 100644
--- a/src/gallium/drivers/svga/Makefile
+++ b/src/gallium/drivers/svga/Makefile
@@ -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
diff --git a/src/gallium/winsys/drm/vmware/core/Makefile 
b/src/gallium/winsys/drm/vmware/core/Makefile
index ff8f01b..a52957c 100644
--- a/src/gallium/winsys/drm/vmware/core/Makefile
+++ b/src/gallium/winsys/drm/vmware/core/Makefile
@@ -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

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to