Bump buildroot to version 2017-02
TG-3 #closed
This commit is contained in:
@@ -4,22 +4,25 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
VALGRIND_VERSION = 3.11.0
|
||||
VALGRIND_VERSION = 3.12.0
|
||||
VALGRIND_SITE = http://valgrind.org/downloads
|
||||
VALGRIND_SOURCE = valgrind-$(VALGRIND_VERSION).tar.bz2
|
||||
VALGRIND_LICENSE = GPLv2 GFDLv1.2
|
||||
VALGRIND_LICENSE = GPLv2, GFDLv1.2
|
||||
VALGRIND_LICENSE_FILES = COPYING COPYING.DOCS
|
||||
VALGRIND_CONF_OPTS = --disable-ubsan
|
||||
VALGRIND_CONF_OPTS = \
|
||||
--disable-ubsan \
|
||||
--without-mpicc
|
||||
VALGRIND_INSTALL_STAGING = YES
|
||||
|
||||
# patch 0004-Fixes-for-musl-libc.patch touching configure.ac
|
||||
VALGRIND_AUTORECONF = YES
|
||||
|
||||
ifeq ($(BR2_GCC_ENABLE_TLS),y)
|
||||
VALGRIND_CONF_OPTS += --enable-tls
|
||||
else
|
||||
VALGRIND_CONF_OPTS += --disable-tls
|
||||
endif
|
||||
# Valgrind must be compiled with no stack protection, so forcefully
|
||||
# pass -fno-stack-protector to override what Buildroot may have in
|
||||
# TARGET_CFLAGS if BR2_SSP_* support is enabled.
|
||||
VALGRIND_CFLAGS = \
|
||||
$(TARGET_CFLAGS) \
|
||||
-fno-stack-protector
|
||||
|
||||
# When Valgrind detects a 32-bit MIPS architecture, it forcibly adds
|
||||
# -march=mips32 to CFLAGS; when it detects a 64-bit MIPS architecture,
|
||||
@@ -31,9 +34,11 @@ endif
|
||||
# and pass the right -march option, so they take precedence over
|
||||
# Valgrind's wrongfully detected value.
|
||||
ifeq ($(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el),y)
|
||||
VALGRIND_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -march=$(BR2_GCC_TARGET_ARCH)"
|
||||
VALGRIND_CFLAGS += -march=$(BR2_GCC_TARGET_ARCH)
|
||||
endif
|
||||
|
||||
VALGRIND_CONF_ENV = CFLAGS="$(VALGRIND_CFLAGS)"
|
||||
|
||||
# On ARM, Valgrind only supports ARMv7, and uses the arch part of the
|
||||
# host tuple to determine whether it's being built for ARMv7 or
|
||||
# not. Therefore, we adjust the host tuple to specify we're on
|
||||
|
||||
Reference in New Issue
Block a user