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/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/locale/Makefile b/locale/Makefile
index ebcf7bd668..d3c62adc07 100644
--- a/locale/Makefile
+++ b/locale/Makefile
@@ -99,6 +99,7 @@ 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-locale = -DNOT_IN_libc
 CPPFLAGS-localedef = -DNOT_IN_libc
 CPPFLAGS-ld-ctype = -DNOT_IN_libc
 CPPFLAGS-ld-time = -DNOT_IN_libc
@@ -109,6 +110,7 @@ CPPFLAGS-ld-identification = -DNOT_IN_libc
 CPPFLAGS-charmap = -DNOT_IN_libc
 CPPFLAGS-locarchive = -DNOT_IN_libc
 CPPFLAGS-linereader = -DNOT_IN_libc
+CPPFLAGS-charmap-dir = -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