You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
692 B
18 lines
692 B
diff -Nru glibc-2.17-c758a686/sysdeps/i386/Makefile glibc-2.17-c758a686/sysdeps/i386/Makefile |
|
--- glibc-2.17-c758a686/sysdeps/i386/Makefile 2012-06-05 07:42:49.000000000 -0600 |
|
+++ glibc-2.17-c758a686/sysdeps/i386/Makefile 2012-06-07 12:15:21.826318641 -0600 |
|
@@ -62,6 +64,14 @@ endif |
|
|
|
ifneq (,$(filter -mno-tls-direct-seg-refs,$(CFLAGS))) |
|
defines += -DNO_TLS_DIRECT_SEG_REFS |
|
+else |
|
+# .a libraries are not performance critical and so we |
|
+# build them without direct TLS segment references |
|
+# always. |
|
+CPPFLAGS-.o += -DNO_TLS_DIRECT_SEG_REFS |
|
+CFLAGS-.o += -mno-tls-direct-seg-refs |
|
+CPPFLAGS-.oS += -DNO_TLS_DIRECT_SEG_REFS |
|
+CFLAGS-.oS += -mno-tls-direct-seg-refs |
|
endif |
|
|
|
ifeq ($(subdir),elf)
|
|
|