summaryrefslogtreecommitdiff
path: root/nt
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-04-30 10:13:40 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2018-04-30 10:14:01 -0700
commit4b10800b59eadd532e74a49a35bc26e0e948b231 (patch)
tree6d0cac7eed35d5688e2142a9a80d958919d90f0f /nt
parent71be806d01c4e135f067bc842a9d684e594b4f35 (diff)
downloademacs-4b10800b59eadd532e74a49a35bc26e0e948b231.tar.gz
Advise CFLAGS= operand, not in environment, when configuring
Backport from master.
Diffstat (limited to 'nt')
-rw-r--r--nt/INSTALL6
1 files changed, 4 insertions, 2 deletions
diff --git a/nt/INSTALL b/nt/INSTALL
index 6d0ecdbfbd9..aa670dfc79b 100644
--- a/nt/INSTALL
+++ b/nt/INSTALL
@@ -52,7 +52,8 @@ build will run on Windows 9X and newer systems).
You can pass other options to the configure script. Here's a
typical example (for an in-place debug build):
- CFLAGS='-O0 -g3' ./configure --prefix=/d/usr/emacs --enable-checking='yes,glyphs'
+ ./configure --prefix=/d/usr/emacs --enable-checking='yes,glyphs' \
+ CFLAGS='-O0 -g3'
3. After the configure script finishes, it should display the
resulting configuration. After that, type
@@ -461,7 +462,8 @@ build will run on Windows 9X and newer systems).
A few frequently used options are needed when you want to produce an
unoptimized binary with runtime checks enabled:
- CFLAGS='-O0 -g3' ./configure --prefix=PREFIX --enable-checking='yes,glyphs'
+ ./configure --prefix=PREFIX --enable-checking='yes,glyphs' \
+ CFLAGS='-O0 -g3'
Once invoked, the configure script will run for some time, and, if
successful, will eventually produce a summary of the configuration