Ilya Zakharevich on Mon, 18 Jan 1999 16:24:52 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PATCH] Remove __OPTIMIZE__ dependence


--- ./Configure.pre	Thu Nov  5 13:21:36 1998
+++ ./Configure	Mon Jan 18 15:28:08 1999
@@ -741,7 +741,7 @@ if test -z "$__gnuc__"; then
 fi
 
 if test -n "$__gnuc__"; then
-  OPTFLAGS="-O2"
+  OPTFLAGS="-O2 -DDO_INLINE"
   DBGFLAGS="-g -Wall -Wno-implicit"
   PRFFLAGS="-pg"
   # Some architectures need -fPIC for building dynamic lib
--- ./src/headers/parisys.h.pre	Fri Nov  6 10:08:48 1998
+++ ./src/headers/parisys.h	Mon Jan 18 16:13:10 1999
@@ -36,7 +36,7 @@
 #  ifdef __GNUC__
 #    define ASMINLINE
 #    define VOLATILE __volatile__
-#    ifdef __OPTIMIZE__
+#    ifdef DO_INLINE
 #      define INLINE __inline__ static
 #    endif
 #    ifdef __STRICT_ANSI__