changeset 742:528a52626680

Fixed building cpuinfo under mingw32
author Sam Lantinga <slouken@libsdl.org>
date Wed, 19 Nov 2003 08:03:10 +0000
parents 97b9c301df94
children 96cd118791bf
files configure.in src/cpuinfo/Makefile.am
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Tue Nov 18 14:25:12 2003 +0000
+++ b/configure.in	Wed Nov 19 08:03:10 2003 +0000
@@ -505,7 +505,7 @@
                   NASMFLAGS="-f aoutb"
                   ;;
               *)
-                  NASMFLAGS="-f elf"
+                  NASMFLAGS="-f elf -D __NOU__"
                   ;;
             esac
             AC_SUBST(NASMFLAGS)
--- a/src/cpuinfo/Makefile.am	Tue Nov 18 14:25:12 2003 +0000
+++ b/src/cpuinfo/Makefile.am	Wed Nov 19 08:03:10 2003 +0000
@@ -7,7 +7,7 @@
 SUFFIXES = .asm
 
 .asm.lo:
-	$(LIBTOOL) --tag=CC --mode=compile $(STRIP_FPIC) $(NASM) -t -D __FLAT__ -D __NOU__ @NASMFLAGS@ $< -o $*.o
+	$(LIBTOOL) --tag=CC --mode=compile $(STRIP_FPIC) $(NASM) -t -D __FLAT__ @NASMFLAGS@ $< -o $*.o
 
 ###########################################################################