Skip to content

Commit

Permalink
Fixed building cpuinfo under mingw32
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 19, 2003
1 parent d653a41 commit 6919998
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.in
Expand Up @@ -505,7 +505,7 @@ CheckNASM()
NASMFLAGS="-f aoutb"
;;
*)
NASMFLAGS="-f elf"
NASMFLAGS="-f elf -D __NOU__"
;;
esac
AC_SUBST(NASMFLAGS)
Expand Down
2 changes: 1 addition & 1 deletion src/cpuinfo/Makefile.am
Expand Up @@ -7,7 +7,7 @@ STRIP_FPIC = sh $(top_srcdir)/strip_fPIC.sh
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

###########################################################################

Expand Down

0 comments on commit 6919998

Please sign in to comment.