SHA256
1
0
forked from pool/elfutils

Accepting request 484254 from home:bmwiedemann:branches:Base:System

make tests pass when user does not want debuginfo (boo#1031556)

OBS-URL: https://build.opensuse.org/request/show/484254
OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=89
This commit is contained in:
Marcus Meissner 2017-04-03 06:47:31 +00:00 committed by Git OBS Bridge
parent 41afbe1a42
commit 83d355f128
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 31 19:02:31 UTC 2017 - bwiedemann@suse.com
- make tests pass when user does not want debuginfo (boo#1031556)
-------------------------------------------------------------------
Thu Mar 30 08:07:10 UTC 2017 - rguenther@suse.com

View File

@ -154,9 +154,11 @@ find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g
# similarly predictable value [upstream default is hostname + date]
MODVERSION="suse-build `eval echo ${DATE} ${TIME}`"
sed --in-place "s/^MODVERSION=.*\$/MODVERSION=\"${MODVERSION}\"/" configure.ac
export CFLAGS="%optflags"
CFLAGS+=" -g" # make tests pass when user does not want debuginfo (boo#1031556)
%ifarch %sparc
# Small PIC model not sufficient
export CFLAGS="%optflags -fPIC"
CFLAGS+=" -fPIC"
%endif
autoreconf -fi
%configure --program-prefix=eu-