From bce538c5c252341a6cb896e1a3722a54865785a3 Mon Sep 17 00:00:00 2001 From: Jonathan L Date: Fri, 11 Aug 2017 12:22:58 +0200 Subject: Toolchain/cygwin compat: define GNULIB_defined_setlocale while building glibc Signed-off-by: Jonathan L Signed-off-by: Abdoulaye Walsimou GAYE --- core/mk/glibc.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/mk/glibc.mk b/core/mk/glibc.mk index ffd4879..4a01ee6 100644 --- a/core/mk/glibc.mk +++ b/core/mk/glibc.mk @@ -1,6 +1,6 @@ ################################################################################ # Embtoolkit -# Copyright(C) 2013-2014 Abdoulaye Walsimou GAYE. +# Copyright(C) 2013-2017 Abdoulaye Walsimou GAYE. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -58,7 +58,7 @@ endif # cygwin compat # ifeq ($(embtk_buildhost_os_type),cygwin) -embtk_glibc_buildcflags := -Dstat64=stat +embtk_glibc_buildcflags := -Dstat64=stat -DGNULIB_defined_setlocale embtk_glibc_buildldflags := -lintl endif -- cgit v1.2.3