From e3d4de904d1cea029c3321c435441d708c5316d9 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Thu, 17 Feb 2000 19:11:45 +0000 Subject: [PATCH] (C_DEBUG_SWITCH): Define to allow optimization. --- src/ChangeLog | 4 ++++ src/s/sol2.h | 5 +++++ 2 files changed, 9 insertions(+) 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 -- 2.39.5