From: Dave Love Date: Thu, 17 Feb 2000 19:11:45 +0000 (+0000) Subject: (C_DEBUG_SWITCH): Define to allow optimization. X-Git-Tag: emacs-pretest-21.0.90~4980 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e3d4de904d1cea029c3321c435441d708c5316d9;p=emacs.git (C_DEBUG_SWITCH): Define to allow optimization. --- diff --git a/src/ChangeLog b/src/ChangeLog index c82c941fe81..55a7257545b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2000-02-17 Dave Love + + * s/sol2.h (C_DEBUG_SWITCH): Define to allow optimization. + 2000-02-17 Gerd Moellmann * emacs.c (main): Use #if GC_MARK_STACK instead of #ifdef. diff --git a/src/s/sol2.h b/src/s/sol2.h index f44ae16c66d..5633a0a316c 100644 --- a/src/s/sol2.h +++ b/src/s/sol2.h @@ -29,3 +29,8 @@ /* Prefer kstat over kvm in getloadavg.c, kstat doesn't require root. ghazi@caip.rutgers.edu, 7/21/97. */ #define HAVE_LIBKSTAT + +/* eggert thinks all versions of SunPro C allowed this. */ +#ifndef __GNUC__ +#define C_DEBUG_SWITCH -g -O +#endif