From e98a7887f71316b0d3faf15281d65855394d6f30a4c5d8402787c996e00030d6 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 3 Jan 2012 15:43:47 +0000 Subject: [PATCH] Accepting request 98661 from home:a_jaeger:my-factory-packages handle -mno-tls-direct-seg-refs on x86-64 OBS-URL: https://build.opensuse.org/request/show/98661 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=148 --- glibc.changes | 6 ++++++ glibc.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/glibc.changes b/glibc.changes index 588fd09..c16d2f2 100644 --- a/glibc.changes +++ b/glibc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 3 15:36:12 UTC 2012 - aj@suse.de + +- Only use -mno-tls-direct-seg-refs on 32-bit x86, it's not needed + on x86-64. + ------------------------------------------------------------------- Tue Jan 3 14:37:48 UTC 2012 - aj@suse.de diff --git a/glibc.spec b/glibc.spec index 6a44ac3..7d0b965 100644 --- a/glibc.spec +++ b/glibc.spec @@ -482,7 +482,8 @@ PARALLEL="%{?_smp_mflags}" %ifarch hppa BuildFlags="$BuildFlags -mpa-risc-1-1 -fstrict-aliasing" %endif -%ifarch %ix86 x86_64 +%ifarch %ix86 +# Add this to avoid performance penalty on Xen for 32-bit x86 BuildFlags="$BuildFlags -mno-tls-direct-seg-refs" %endif # Add flags for all plattforms except AXP