Cygwin build fix
authorDick Porter <dick@acm.org>
Wed, 18 Jun 2003 14:18:56 +0000 (14:18 -0000)
committerDick Porter <dick@acm.org>
Wed, 18 Jun 2003 14:18:56 +0000 (14:18 -0000)
svn path=/trunk/mono/; revision=15480

mono/mini/Makefile.am

index 9fbe6ea0e7406a3be93e93816a7fd45c816117e6..54d6c0e9b0eea114dccd4b6157d16b013922a1f8 100644 (file)
@@ -22,6 +22,9 @@ INCLUDES = \
 
 if PLATFORM_WIN32
 export HOST_CC
+# The mingw math.h has "extern inline" functions that dont appear in libs, so
+# optimisation is required to actually inline them
+AM_CFLAGS = -O
 endif
 
 # hack for automake to have the same source file in a library and a bin