From: Vicente Olivert Riera Date: Mon, 27 Jun 2016 16:11:15 +0100 Subject: [Buildroot] [PATCH 01/13] package/gcc: use BR2_USE_WCHAR to set gcc libquadmath option Message-ID: <1467040287-39390-1-git-send-email-Vincent.Riera@imgtec.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net From: Samuel Martin BR2_TOOLCHAIN_BUILDROOT_WCHAR is only defined when uclibc is selected, whereas BR2_USE_WCHAR is always defined. So, use BR2_USE_WCHAR to drive the gcc libquadmath option. Signed-off-by: Samuel Martin Signed-off-by: Vicente Olivert Riera --- package/gcc/gcc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk index 46f05ff..88d2bc2 100644 --- a/package/gcc/gcc.mk +++ b/package/gcc/gcc.mk @@ -107,7 +107,7 @@ HOST_GCC_COMMON_CONF_OPTS += --disable-libitm endif # gcc 4.6.x quadmath requires wchar -ifneq ($(BR2_TOOLCHAIN_BUILDROOT_WCHAR),y) +ifneq ($(BR2_USE_WCHAR),y) HOST_GCC_COMMON_CONF_OPTS += --disable-libquadmath endif -- 2.7.3