eglibc: add comment explaining why we pass -O2
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 6 Aug 2013 10:46:14 +0000 (12:46 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 6 Aug 2013 10:46:14 +0000 (12:46 +0200)
While reviewing the eglibc package, Peter mentionned that it would be
good to add a comment that explains why we explicitly build eglibc
with -O2 instead of using the user selected optimization level. This
commit add such a comment.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/eglibc/eglibc.mk

index 253dabd4f041f92492ff75860c25856c10af82b1..8873a06fee885cf950466bd07ac958d10ffa10dd 100644 (file)
@@ -36,6 +36,9 @@ endif
 #
 #  2. We have to execute the configure script with bash and not sh.
 #
+# Note that as mentionned in
+# http://patches.openembedded.org/patch/38849/, eglibc must be built
+# with -O2, so we pass our own CFLAGS and CXXFLAGS below.
 define EGLIBC_CONFIGURE_CMDS
        mkdir -p $(@D)/build
        # Do the configuration