Patch: don't use glibc's math inlines

Anthony Green green@cygnus.com
Sun Mar 5 00:30:00 GMT 2000


I'm committing the following patch, which is required for correct
behaviour.  See PR gcj/151.

AG

-- 
Anthony Green                                                        Red Hat
                                                       Sunnyvale, California

2000-03-04  Anthony Green  <green@redhat.com>

	* configure.host (libgcj_flags): Define __NO_MATH_INLINES.
	See PR gcj/151.

Index: libjava/configure.host
===================================================================
RCS file: /cvs/java/libgcj/libjava/configure.host,v
retrieving revision 1.8
diff -p -r1.8 configure.host
*** configure.host	2000/02/13 18:07:09	1.8
--- configure.host	2000/03/05 08:26:35
*************** case "${host}" in
*** 58,64 ****
   	enable_getenv_properties_default=no
  	;;
    i686-*|i586-*|i486-*|i386-*)
! 	libgcj_flags="${libgcj_flags} -ffloat-store"
  	libgcj_interpreter=yes
  	DIVIDESPEC=-fno-use-divide-subroutine
  	;;
--- 58,64 ----
   	enable_getenv_properties_default=no
  	;;
    i686-*|i586-*|i486-*|i386-*)
! 	libgcj_flags="${libgcj_flags} -ffloat-store -D__NO_MATH_INLINES"
  	libgcj_interpreter=yes
  	DIVIDESPEC=-fno-use-divide-subroutine
  	;;



More information about the Java-patches mailing list