summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/eglibc/eglibc.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/eglibc/eglibc.mk b/package/eglibc/eglibc.mk
index 253dabd4f0..8873a06fee 100644
--- a/package/eglibc/eglibc.mk
+++ b/package/eglibc/eglibc.mk
@@ -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
OpenPOWER on IntegriCloud