forked from pool/elfutils
Accepting request 227237 from home:jengelh:branches:Base:System
- SPARC build requires the large PIC model (or else build fails) OBS-URL: https://build.opensuse.org/request/show/227237 OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=56
This commit is contained in:
parent
f0f9e87f4c
commit
5875dc3fad
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 22 17:19:48 UTC 2014 - jengelh@inai.de
|
||||
|
||||
- SPARC build requires the large PIC model (or else build fails)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 28 19:22:04 UTC 2014 - tonyj@suse.com
|
||||
|
||||
|
@ -152,6 +152,10 @@ modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
|
||||
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
|
||||
TIME="\"$(date -d "${modified}" "+%%R")\""
|
||||
find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} +
|
||||
%ifarch %sparc
|
||||
# Small PIC model not sufficient
|
||||
export CFLAGS="%optflags -fPIC"
|
||||
%endif
|
||||
%configure --program-prefix=eu-
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user