summary refs log tree commit diff
path: root/csu
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 /csu
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 'csu')
-rw-r--r--csu/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/csu/Makefile b/csu/Makefile
index 9127aba08a..b1fd32d7a6 100644
--- a/csu/Makefile
+++ b/csu/Makefile
@@ -104,7 +104,7 @@ omit-deps += $(crtstuff)
 $(crtstuff:%=$(objpfx)%.o): %.o: %.S $(objpfx)defs.h
 	$(compile.S) -g0 $(ASFLAGS-.os) -o $@
 
-CFLAGS-initfini.s = -g0 -fPIC -fno-inline-functions
+CFLAGS-initfini.s = -g0 -fPIC -fno-inline-functions $(fno-unit-at-a-time)
 
 vpath initfini.c $(full_config_sysdirs)