1
0

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:
2016-06-25 00:23:18 +00:00
committed by Git OBS Bridge
parent 2afbc4201e
commit dede4c1f4a
2 changed files with 7 additions and 1 deletions
+5
View File
@@ -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
View File
@@ -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 "