SHA256
1
0
forked from pool/glibc

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
This commit is contained in:
Andreas Jaeger 2012-01-03 15:43:47 +00:00 committed by Git OBS Bridge
parent 39bd22ed75
commit e98a7887f7
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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