forked from pool/GraphicsMagick
Accepting request 404230 from graphics
- Build "gm" as position independend executable (PIE). (forwarded request 404225 from msmeissn) OBS-URL: https://build.opensuse.org/request/show/404230 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/GraphicsMagick?expand=0&rev=55
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 23 11:54:26 UTC 2016 - meissner@suse.com
|
||||
|
||||
- Build "gm" as position independend executable (PIE).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 6 09:22:05 UTC 2016 - pgajdos@suse.com
|
||||
|
||||
|
||||
+2
-1
@@ -236,6 +236,7 @@ create composite images, create thumbnail images, and much, much, more.
|
||||
export PERLOPTS="PREFIX=%{buildroot}%{_prefix}"
|
||||
# This shouldn't be there yet.
|
||||
rm -f PerlMagick/Makefile.PL
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fPIE"
|
||||
%configure --enable-shared --disable-static \
|
||||
--with-modules --enable-lzw \
|
||||
--with-frozenpaths \
|
||||
@@ -248,7 +249,7 @@ rm -f PerlMagick/Makefile.PL
|
||||
--x-libraries=%{_libdir} \
|
||||
--x-includes=%{_prefix}/include
|
||||
# --with-perl-options="$PERLOPTS" \
|
||||
make %{?_smp_mflags}
|
||||
make %{?_smp_mflags} LDFLAGS="-pie"
|
||||
cd PerlMagick
|
||||
if [ -e PerlMagick/typemap ]; then
|
||||
echo "With Graphics Magick 1.4.0, typmap exists yet, please "
|
||||
|
||||
Reference in New Issue
Block a user