about summary refs log tree commit diff
path: root/locale/Makefile
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2003-12-02 07:37:28 +0000
committerAndreas Jaeger <aj@suse.de>2003-12-02 07:37:28 +0000
commit498031085659f4d8c75aebfba383344e9ea36f47 (patch)
tree782c9bf8ce0238571095a084aae400f609f4acd0 /locale/Makefile
parent3583ea85248c31a3e3cf142ff9adfe7bd62f6707 (diff)
downloadglibc-498031085659f4d8c75aebfba383344e9ea36f47.tar.gz
glibc-498031085659f4d8c75aebfba383344e9ea36f47.tar.xz
glibc-498031085659f4d8c75aebfba383344e9ea36f47.zip
* config.make.in (fno-unit-at-a-time): Define.
	* configure.in: Add test for -fno-unit-at-a-time.
	Fix text for -fpie.

	* csu/Makefile (CFLAGS-initfini.s): Add $(fno_unit_at_a_time).
	* locale/Makefile (CFLAGS-loadlocale.c): Likewise.

For linuxthreads:
	* Makefile (CFLAGS-pt-initfini.s): Add $(fno_unit_at_a_time).
	* sysdeps/unix/sysv/linux/x86_64/Makefile (CFLAGS-pt-initfini.s):
	Likewise.

For nptl:
	* Makefile (CFLAGS-pt-initfini.s): Add $(fno_unit_at_a_time).
	* sysdeps/unix/sysv/linux/x86_64/Makefile (CFLAGS-pt-initfini.s):
	Likewise.
Diffstat (limited to 'locale/Makefile')
-rw-r--r--locale/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/locale/Makefile b/locale/Makefile
index 2f2d2ba5f1..b493c1c9b9 100644
--- a/locale/Makefile
+++ b/locale/Makefile
@@ -100,6 +100,7 @@ locale-CPPFLAGS := -DLOCALE_PATH='$(localepath)' \
 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
+CFLAGS-loadlocale.c = $(fno-unit-at-a-time)
 
 # This makes sure -DNOT_IN_libc is passed for all these modules.
 cpp-srcs-left := $(addsuffix .c,$(localedef-modules) $(localedef-aux) \