about summary refs log tree commit diff
path: root/locale/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'locale/Makefile')
-rw-r--r--locale/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/locale/Makefile b/locale/Makefile
index 7a773f104f..3b3af99171 100644
--- a/locale/Makefile
+++ b/locale/Makefile
@@ -99,6 +99,17 @@ CFLAGS-charmap.c = -Wno-write-strings -Wno-char-subscripts
 CFLAGS-locfile.c = -Wno-write-strings -Wno-char-subscripts
 CFLAGS-charmap-dir.c = -Wno-write-strings
 
+CPPFLAGS-localedef = -DNOT_IN_libc
+CPPFLAGS-ld-ctype = -DNOT_IN_libc
+CPPFLAGS-ld-time = -DNOT_IN_libc
+CPPFLAGS-ld-numeric = -DNOT_IN_libc
+CPPFLAGS-ld-monetary = -DNOT_IN_libc
+CPPFLAGS-ld-collate = -DNOT_IN_libc
+CPPFLAGS-ld-identification = -DNOT_IN_libc
+CPPFLAGS-charmap = -DNOT_IN_libc
+CPPFLAGS-locarchive = -DNOT_IN_libc
+CPPFLAGS-linereader = -DNOT_IN_libc
+
 # Depend on libc.so so a DT_NEEDED is generated in the shared objects.
 # This ensures they will load libc.so for needed symbols if loaded by
 # a statically-linked program that hasn't already loaded it.