Fixed building cpuinfo under mingw32
authorSam Lantinga <slouken@libsdl.org>
Wed, 19 Nov 2003 08:03:10 +0000
changeset 742528a52626680
parent 741 97b9c301df94
child 743 96cd118791bf
Fixed building cpuinfo under mingw32
configure.in
src/cpuinfo/Makefile.am
     1.1 --- a/configure.in	Tue Nov 18 14:25:12 2003 +0000
     1.2 +++ b/configure.in	Wed Nov 19 08:03:10 2003 +0000
     1.3 @@ -505,7 +505,7 @@
     1.4                    NASMFLAGS="-f aoutb"
     1.5                    ;;
     1.6                *)
     1.7 -                  NASMFLAGS="-f elf"
     1.8 +                  NASMFLAGS="-f elf -D __NOU__"
     1.9                    ;;
    1.10              esac
    1.11              AC_SUBST(NASMFLAGS)
     2.1 --- a/src/cpuinfo/Makefile.am	Tue Nov 18 14:25:12 2003 +0000
     2.2 +++ b/src/cpuinfo/Makefile.am	Wed Nov 19 08:03:10 2003 +0000
     2.3 @@ -7,7 +7,7 @@
     2.4  SUFFIXES = .asm
     2.5  
     2.6  .asm.lo:
     2.7 -	$(LIBTOOL) --tag=CC --mode=compile $(STRIP_FPIC) $(NASM) -t -D __FLAT__ -D __NOU__ @NASMFLAGS@ $< -o $*.o
     2.8 +	$(LIBTOOL) --tag=CC --mode=compile $(STRIP_FPIC) $(NASM) -t -D __FLAT__ @NASMFLAGS@ $< -o $*.o
     2.9  
    2.10  ###########################################################################
    2.11