Skip to content

Commit

Permalink
package/gcc: use BR2_USE_WCHAR to set gcc libquadmath option
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
tSed committed Mar 18, 2016
1 parent 9db9a6d commit ae69ebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/gcc/gcc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,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

Expand Down

0 comments on commit ae69ebb

Please sign in to comment.