fix Cygwin build

This commit is contained in:
U-JOELDICEXPVM\Joel Dice 2009-02-13 17:03:46 -07:00
parent 46e19f9c80
commit ec5c64d472
3 changed files with 5 additions and 5 deletions

View File

@ -127,8 +127,8 @@ ifeq ($(platform),windows)
objcopy = i586-mingw32msvc-objcopy
strip = i586-mingw32msvc-strip
else
build-cflags = $(common-cflags) \
"-I$(JAVA_HOME)/include/win32" -I$(src) -mthreads
common-cflags += "-I$(JAVA_HOME)/include/win32"
build-cflags = $(common-cflags) -I$(src) -mthreads
ifeq ($(build-platform),cygwin)
build-lflags += -mno-cygwin
build-cflags += -mno-cygwin

View File

@ -71,7 +71,7 @@ test:
#elif defined __i386__
# if defined __APPLE__ || defined __MINGW32__
# if defined __APPLE__ || defined __MINGW32__ || defined __CYGWIN32__
.globl _vmInvoke
_vmInvoke:
# else

View File

@ -120,7 +120,7 @@ vmJump:
#elif defined __i386__
# if defined __APPLE__ || defined __MINGW32__
# if defined __APPLE__ || defined __MINGW32__ || defined __CYGWIN32__
.globl _vmNativeCall
_vmNativeCall:
# else
@ -197,7 +197,7 @@ exit:
popl %ebp
ret
# if defined __APPLE__ || defined __MINGW32__
# if defined __APPLE__ || defined __MINGW32__ || defined __CYGWIN32__
.globl _vmJump
_vmJump:
# else