summaryrefslogtreecommitdiff
path: root/etc/DEBUG
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-04-29 09:28:11 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2018-04-29 09:28:11 -0700
commitbf12cc6c7830937b4c1a3df46294e74bea749a5f (patch)
tree26d1469538c00c5aa4c3aa49752126ed1f29f1de /etc/DEBUG
parenta0aac5741ec27465145fbb283bf095352ba19b58 (diff)
downloademacs-bf12cc6c7830937b4c1a3df46294e74bea749a5f.tar.gz
Advise CFLAGS= operand, not in environment, when configuring
Diffstat (limited to 'etc/DEBUG')
-rw-r--r--etc/DEBUG3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/DEBUG b/etc/DEBUG
index a7792952089..49764fc9137 100644
--- a/etc/DEBUG
+++ b/etc/DEBUG
@@ -16,7 +16,8 @@ make the debugging easier. Here's the configure-time options we
recommend (they are in addition to any other options you might need,
such as --prefix):
- CFLAGS='-O0 -g3' ./configure --enable-checking='yes,glyphs' --enable-check-lisp-object-type
+ ./configure --enable-checking='yes,glyphs' --enable-check-lisp-object-type \
+ CFLAGS='-O0 -g3'
The CFLAGS value is important: debugging optimized code can be very
hard. (If the problem only happens with optimized code, you may need