summaryrefslogtreecommitdiffstats
path: root/extra/locale
diff options
context:
space:
mode:
Diffstat (limited to 'extra/locale')
-rw-r--r--extra/locale/Makefile.in7
-rw-r--r--extra/locale/gen_collate.c5
-rw-r--r--extra/locale/gen_locale.c1
-rw-r--r--extra/locale/gen_wc8bit.c1
-rw-r--r--extra/locale/gen_wctype.c2
-rw-r--r--extra/locale/tst_nl_langinfo.c2
6 files changed, 4 insertions, 14 deletions
diff --git a/extra/locale/Makefile.in b/extra/locale/Makefile.in
index deaa74110..57c9ba213 100644
--- a/extra/locale/Makefile.in
+++ b/extra/locale/Makefile.in
@@ -1,6 +1,6 @@
# Makefile for uClibc
#
-# Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
+# Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
#
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
@@ -41,8 +41,9 @@ CFLAGS-locale_data.c := -D__WCHAR_ENABLED -I$(locale_OUT) -I$(locale_DIR)
# produces a loop
#headers-$(UCLIBC_HAS_LOCALE) += locale_headers
-libc-a-$(UCLIBC_HAS_LOCALE) += $(locale_OBJ)
-libc-so-$(UCLIBC_HAS_LOCALE) += $(locale_OBJ:.o=.os)
+libc-$(UCLIBC_HAS_LOCALE) += $(locale_OBJ)
+
+libc-nomulti-$(UCLIBC_HAS_LOCALE) += $(locale_OBJ)
locale_headers: $(top_builddir)include/bits/uClibc_locale_data.h
diff --git a/extra/locale/gen_collate.c b/extra/locale/gen_collate.c
index 0a41a6215..7d90bcd71 100644
--- a/extra/locale/gen_collate.c
+++ b/extra/locale/gen_collate.c
@@ -15,11 +15,6 @@
*
*/
-
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE
-#endif
-
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/extra/locale/gen_locale.c b/extra/locale/gen_locale.c
index 388f543c5..b44be318e 100644
--- a/extra/locale/gen_locale.c
+++ b/extra/locale/gen_locale.c
@@ -1,4 +1,3 @@
-#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/extra/locale/gen_wc8bit.c b/extra/locale/gen_wc8bit.c
index 510b4e25f..cf72a180c 100644
--- a/extra/locale/gen_wc8bit.c
+++ b/extra/locale/gen_wc8bit.c
@@ -1,4 +1,3 @@
-#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/extra/locale/gen_wctype.c b/extra/locale/gen_wctype.c
index 72be49c40..c29c1b952 100644
--- a/extra/locale/gen_wctype.c
+++ b/extra/locale/gen_wctype.c
@@ -1,5 +1,3 @@
-
-#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/extra/locale/tst_nl_langinfo.c b/extra/locale/tst_nl_langinfo.c
index 373f9343c..fcf2fe2eb 100644
--- a/extra/locale/tst_nl_langinfo.c
+++ b/extra/locale/tst_nl_langinfo.c
@@ -1,5 +1,3 @@
-#define _GNU_SOURCE
-
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>