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:
parent
c5a043e86b
commit
860beda65e
@ -2,6 +2,7 @@
|
|||||||
Wed May 16 22:12:34 UTC 2018 - jengelh@inai.de
|
Wed May 16 22:12:34 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
- Add _FILE_OFFSET_BITS=64 for the psmake build procedure.
|
- 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
|
Wed May 16 16:38:42 UTC 2018 - jengelh@inai.de
|
||||||
|
11
schily.spec
11
schily.spec
@ -419,15 +419,12 @@ popd
|
|||||||
#
|
#
|
||||||
# To enable verbosity, use with CC=cc LDCC=cc DYNLD=cc.
|
# 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.
|
# Not fully parallel safe, so stick to default.
|
||||||
#
|
#
|
||||||
gmake GMAKE_NOWARN=true RUNPATH="" LINKMODE=dynamic \
|
mycf="%optflags -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -fno-omit-frame-pointer -fPIC -finput-charset=ISO-8859-1"
|
||||||
COPTOPT="%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=""
|
||||||
LDOPTX="" RUNPATH=""
|
rm -fv cdrecord/OBJ/*/cdrecord cdda2wav/OBJ/*/cdda2wav readcd/OBJ/*/readcd
|
||||||
|
gmake RUNPATH="" LINKMODE=dynamic COPTOPT="$mycf -fPIE" LDOPTX=-pie
|
||||||
|
|
||||||
%install
|
%install
|
||||||
b="%buildroot"
|
b="%buildroot"
|
||||||
|
Loading…
Reference in New Issue
Block a user