diff options
author | Joel Stanley <joel@jms.id.au> | 2018-04-12 15:59:40 +0930 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2018-04-12 15:59:40 +0930 |
commit | a8d11267c2bfad3ff410ea342778f2791982da51 (patch) | |
tree | 98f7058a6f58fc3f63d1e8bb499531a0a01e15fd /package/openocd | |
parent | e17668bbe3538d42b0a0fab64251e60ff6c81d68 (diff) | |
parent | 9565a37e0d2aa3c5fb9a4148760c490f2e5226d4 (diff) | |
download | buildroot-2018.02-op-build.tar.gz buildroot-2018.02-op-build.zip |
Merge tag '2018.02.1' into 2018.02-op-build2018.02-op-build
Release 2018.02.1
Diffstat (limited to 'package/openocd')
-rw-r--r-- | package/openocd/openocd.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/package/openocd/openocd.mk b/package/openocd/openocd.mk index 9d2576ceeb..548d8b81a0 100644 --- a/package/openocd/openocd.mk +++ b/package/openocd/openocd.mk @@ -11,7 +11,12 @@ OPENOCD_LICENSE = GPL-2.0+ OPENOCD_LICENSE_FILES = COPYING # 0002-configure-enable-build-on-uclinux.patch patches configure.ac OPENOCD_AUTORECONF = YES -OPENOCD_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu99" + +# The bundled jimtcl really wants to find a existing $CXX, so feed it +# false when we do not have one. +OPENOCD_CONF_ENV = \ + $(if $(BR2_INSTALL_LIBSTDCPP),,CXX=false) \ + CFLAGS="$(TARGET_CFLAGS) -std=gnu99" OPENOCD_CONF_OPTS = \ --oldincludedir=$(STAGING_DIR)/usr/include \ |