SHA256
1
0
forked from pool/schily

- Build cdrecord/cdda2wav/readcd with PIE link mode.

OBS-URL: https://build.opensuse.org/package/show/utilities/schily?expand=0&rev=18
This commit is contained in:
Jan Engelhardt 2018-05-16 22:48:12 +00:00 committed by Git OBS Bridge
parent c5a043e86b
commit 860beda65e
2 changed files with 5 additions and 7 deletions

View File

@ -2,6 +2,7 @@
Wed May 16 22:12:34 UTC 2018 - jengelh@inai.de
- Add _FILE_OFFSET_BITS=64 for the psmake build procedure.
- Build cdrecord/cdda2wav/readcd with PIE link mode.
-------------------------------------------------------------------
Wed May 16 16:38:42 UTC 2018 - jengelh@inai.de

View File

@ -419,15 +419,12 @@ popd
#
# To enable verbosity, use with CC=cc LDCC=cc DYNLD=cc.
#
# Note that specifying -fPIE/-pie here conflicts with the generation
# of shared objects, which is why we build those separately
# in schily-libs.spec instead.
#
# Not fully parallel safe, so stick to default.
#
gmake GMAKE_NOWARN=true RUNPATH="" LINKMODE=dynamic \
COPTOPT="%optflags -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -fno-omit-frame-pointer -fPIC -finput-charset=ISO-8859-1" \
LDOPTX="" RUNPATH=""
mycf="%optflags -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -fno-omit-frame-pointer -fPIC -finput-charset=ISO-8859-1"
gmake RUNPATH="" LINKMODE=dynamic COPTOPT="$mycf" LDOPTX=""
rm -fv cdrecord/OBJ/*/cdrecord cdda2wav/OBJ/*/cdda2wav readcd/OBJ/*/readcd
gmake RUNPATH="" LINKMODE=dynamic COPTOPT="$mycf -fPIE" LDOPTX=-pie
%install
b="%buildroot"