summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan L <jlynam@gmail.com>2017-08-11 12:22:58 +0200
committerAbdoulaye Walsimou GAYE <awg@embtoolkit.org>2017-08-11 12:25:55 +0200
commitbce538c5c252341a6cb896e1a3722a54865785a3 (patch)
treecd33092279b7d6b94c16054141a667a74777241b
parent98253ea63ce56ff4bc929a4f58dffb7b5835270e (diff)
downloadembtoolkit-bce538c5c252341a6cb896e1a3722a54865785a3.tar.gz
embtoolkit-bce538c5c252341a6cb896e1a3722a54865785a3.tar.bz2
embtoolkit-bce538c5c252341a6cb896e1a3722a54865785a3.tar.xz
Toolchain/cygwin compat: define GNULIB_defined_setlocale while building glibc
Signed-off-by: Jonathan L <jlynam@gmail.com> Signed-off-by: Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
-rw-r--r--core/mk/glibc.mk4
1 files 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