about summary refs log tree commit diff
path: root/nptl
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 /nptl
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 'nptl')
-rw-r--r--nptl/Makefile2
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/Makefile3
2 files changed, 3 insertions, 2 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index 138ff4723c..d50ae0a794 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -312,7 +312,7 @@ endif
 extra-objs += $(crti-objs) $(crtn-objs)
 omit-deps += crti crtn
 
-CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions
+CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions $(fno-unit-at-a-time)
 endif
 
 CFLAGS-flockfile.c = -D_IO_MTSAFE_IO
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile b/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile
index d3e5eb54d7..b32ce29eff 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile
+++ b/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile
@@ -1,3 +1,4 @@
 ifeq ($(subdir),nptl)
-CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions -fno-asynchronous-unwind-tables
+CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions \
+		       -fno-asynchronous-unwind-tables $(fno-unit-at-a-time)
 endif