[Buildroot] [git commit branch/2019.02.x] package/glibmm: use GLIBMM_CXXFLAGS

Peter Korsgaard peter at korsgaard.com
Thu Jun 6 14:50:55 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=ecaedd39a8b0aa8d3e4142adb15e1993e310a747
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2019.02.x

Commit 8d8d4ecaf1bc22a89d0f373e9d1655f59f283480 ("package/glibmm: work
around gcc bug 85180") was incorrect reworked by me, and
TARGET_CXXFLAGS was used instead of GLIBMM_CXXFLAGS, causing the
Microblaze workaround to be ineffective. This new commit fixes this
typo.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 72e0ff66e7be8cebfb79c1cbcab168ae1d843a61)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/glibmm/glibmm.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/glibmm/glibmm.mk b/package/glibmm/glibmm.mk
index a0abb7a49d..e66d56eac9 100644
--- a/package/glibmm/glibmm.mk
+++ b/package/glibmm/glibmm.mk
@@ -19,6 +19,6 @@ ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
 GLIBMM_CXXFLAGS += -O0
 endif
 
-GLIBMM_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS)"
+GLIBMM_CONF_ENV += CXXFLAGS="$(GLIBMM_CXXFLAGS)"
 
 $(eval $(autotools-package))


More information about the buildroot mailing list