- build with PIE

OBS-URL: https://build.opensuse.org/package/show/Base:System/gzip?expand=0&rev=37
This commit is contained in:
Marcus Meissner 2014-12-19 10:06:36 +00:00 committed by Git OBS Bridge
parent ea47597a66
commit 4741d0043a
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 19 10:05:17 UTC 2014 - meissner@suse.com
- build with PIE
-------------------------------------------------------------------
Mon May 12 15:44:03 UTC 2014 - vdziewiecki@suse.com

View File

@ -57,8 +57,9 @@ times.
%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