Hello community,

here is the log from the commit of package gzip for openSUSE:Factory checked in 
at 2014-12-23 12:32:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gzip (Old)
 and      /work/SRC/openSUSE:Factory/.gzip.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gzip"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gzip/gzip.changes        2014-05-22 
20:38:13.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gzip.new/gzip.changes   2014-12-23 
12:31:28.000000000 +0100
@@ -1,0 +2,5 @@
+Fri Dec 19 10:05:17 UTC 2014 - meiss...@suse.com
+
+- build with PIE
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gzip.spec ++++++
--- /var/tmp/diff_new_pack.DPm5Rw/_old  2014-12-23 12:31:31.000000000 +0100
+++ /var/tmp/diff_new_pack.DPm5Rw/_new  2014-12-23 12:31:31.000000000 +0100
@@ -57,8 +57,9 @@
 %patch7 -p1
 
 %build
-CFLAGS="%{optflags} -fomit-frame-pointer \
--W -Wall -Wno-unused-parameter -Wstrict-prototypes -Wpointer-arith"
+export CFLAGS="%{optflags} -fomit-frame-pointer \
+-W -Wall -Wno-unused-parameter -Wstrict-prototypes -Wpointer-arith -fPIE"
+export LDFLAGS="-pie"
 %configure --disable-silent-rules \
   gl_cv_func_printf_directive_n=yes \
   gl_cv_func_printf_infinite_long_double=yes
@@ -71,12 +72,12 @@
   time ./gzip -d < $tmpfile.gz > /dev/null
 }
 %if %{do_profiling}
-make %{?_smp_mflags} CFLAGS="$CFLAGS -fprofile-generate"
+make %{?_smp_mflags} CFLAGS="$CFLAGS -fprofile-generate" LDFLAGS="-pie"
 profile_gzip
 make clean %{?_smp_mflags}
-make %{?_smp_mflags} CFLAGS="$CFLAGS -fprofile-use"
+make %{?_smp_mflags} CFLAGS="$CFLAGS -fprofile-use" LDFLAGS="-pie"
 %else
-make %{?_smp_mflags}
+make %{?_smp_mflags} LDFLAGS="-pie"
 %endif
 
 %check


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to