Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 01/13] package/gcc: use BR2_USE_WCHAR to set gcc libquadmath option
@ 2016-06-27 15:11 Vicente Olivert Riera
  2016-06-27 15:11 ` [Buildroot] [PATCH 02/13] package/gcc: fix fortran support Vicente Olivert Riera
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Vicente Olivert Riera @ 2016-06-27 15:11 UTC (permalink / raw)
  To: buildroot

From: Samuel Martin <s.martin49@gmail.com>

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 <s.martin49@gmail.com>
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-07-01 15:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-27 15:11 [Buildroot] [PATCH 01/13] package/gcc: use BR2_USE_WCHAR to set gcc libquadmath option Vicente Olivert Riera
2016-06-27 15:11 ` [Buildroot] [PATCH 02/13] package/gcc: fix fortran support Vicente Olivert Riera
2016-06-27 15:11 ` [Buildroot] [PATCH 03/13] package/gcc: wrap gfortran Vicente Olivert Riera
2016-06-27 15:11 ` [Buildroot] [PATCH 04/13] pkg-cmake.mk: export the fortran compiler path in the CMake toolchain file Vicente Olivert Riera
2016-06-27 15:11 ` [Buildroot] [PATCH 05/13] toolchain: add hidden symbol for fortran support in the toolchain Vicente Olivert Riera
2016-07-01 15:30 ` [Buildroot] [PATCH 01/13] package/gcc: use BR2_USE_WCHAR to set gcc libquadmath option Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox