72e0ff66e7
Commit 8d8d4ecaf1
("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@bootlin.com>
25 lines
752 B
Makefile
25 lines
752 B
Makefile
################################################################################
|
|
#
|
|
# glibmm
|
|
#
|
|
################################################################################
|
|
|
|
GLIBMM_VERSION_MAJOR = 2.56
|
|
GLIBMM_VERSION = $(GLIBMM_VERSION_MAJOR).0
|
|
GLIBMM_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools)
|
|
GLIBMM_LICENSE_FILES = COPYING COPYING.tools
|
|
GLIBMM_SOURCE = glibmm-$(GLIBMM_VERSION).tar.xz
|
|
GLIBMM_SITE = http://ftp.gnome.org/pub/gnome/sources/glibmm/$(GLIBMM_VERSION_MAJOR)
|
|
GLIBMM_INSTALL_STAGING = YES
|
|
GLIBMM_DEPENDENCIES = libglib2 libsigc host-pkgconf
|
|
|
|
GLIBMM_CXXFLAGS = $(TARGET_CXXFLAGS)
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
|
|
GLIBMM_CXXFLAGS += -O0
|
|
endif
|
|
|
|
GLIBMM_CONF_ENV += CXXFLAGS="$(GLIBMM_CXXFLAGS)"
|
|
|
|
$(eval $(autotools-package))
|