aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/Makefile2
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/x86_64/Makefile3
2 files changed, 3 insertions, 2 deletions
diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile
index 8fea64f6fc..f3a9c02e5f 100644
--- a/linuxthreads/Makefile
+++ b/linuxthreads/Makefile
@@ -101,7 +101,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
librt-tests = ex10 ex11
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/x86_64/Makefile b/linuxthreads/sysdeps/unix/sysv/linux/x86_64/Makefile
index 044c07c31c..b5e5d5d480 100644
--- a/linuxthreads/sysdeps/unix/sysv/linux/x86_64/Makefile
+++ b/linuxthreads/sysdeps/unix/sysv/linux/x86_64/Makefile
@@ -1,3 +1,4 @@
ifeq ($(subdir),linuxthreads)
-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