summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-02-15 23:48:47 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-02-15 23:48:47 +0000
commitdb9881ecd7e7278af3e6bb252a0b3015e275d7bd (patch)
tree18ae8d859278144438c5e0cc960e2c49da87b1b5 /ChangeLog
parent3785b31c16a507538a9f67f20c75b8a1dfe9939a (diff)
downloadglibc-db9881ecd7e7278af3e6bb252a0b3015e275d7bd.tar.gz
Document use of CC and CFLAGS in more detail (bug 20980, bug 21234).
There are some bug reports from people setting CFLAGS not including a -O option and then being confused when the build fails. This patch addresses this by documenting the proper use of CC and CFLAGS in more detail - saying what options should go where and specifying the requirement to compile with optimization. The previous text incorrectly used @var markup with CC and CFLAGS. The correct markup for environment variables is @env, but it's also the case that passing such variables explicitly on the configure command line is preferred to passing them in the environment, so this patch changes the documentation to describe passing them on the command line (and uses @code). In many cases putting options in the wrong place may in fact work, but I believe what I've specified is the correct rule for which options to put where. [BZ #20980] [BZ #21234] * manual/install.texi (Configuring and compiling): Describe passing CC and CFLAGS on configure command line, not as environment variables. Use @code markup on those variables. Specify what options go in CC and what go in CFLAGS. Note the requirement to compile with optimization. * INSTALL: Regenerated.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9bc1c16d2a..c5696dbe36 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2018-02-15 Joseph Myers <joseph@codesourcery.com>
+ [BZ #20980]
+ [BZ #21234]
+ * manual/install.texi (Configuring and compiling): Describe
+ passing CC and CFLAGS on configure command line, not as
+ environment variables. Use @code markup on those variables.
+ Specify what options go in CC and what go in CFLAGS. Note the
+ requirement to compile with optimization.
+ * INSTALL: Regenerated.
+
[BZ #18124]
* sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
(setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.