Accepting request 266056 from Base:System
- build with PIE (forwarded request 266046 from msmeissn) OBS-URL: https://build.opensuse.org/request/show/266056 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=55
This commit is contained in:
commit
8e95368780
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 21 12:33:22 UTC 2014 - meissner@suse.com
|
||||||
|
|
||||||
|
- build with PIE
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 20 19:13:19 UTC 2014 - andreas.stieger@gmx.de
|
Thu Nov 20 19:13:19 UTC 2014 - andreas.stieger@gmx.de
|
||||||
|
|
||||||
|
4
tar.spec
4
tar.spec
@ -89,7 +89,7 @@ Upstream testsuite for the package
|
|||||||
%patch20 -p1
|
%patch20 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%define my_cflags -W -Wall -Wpointer-arith -Wstrict-prototypes -Wformat-security -Wno-unused-parameter
|
%define my_cflags -W -Wall -Wpointer-arith -Wstrict-prototypes -Wformat-security -Wno-unused-parameter -fPIE
|
||||||
export CFLAGS="%{optflags} %my_cflags"
|
export CFLAGS="%{optflags} %my_cflags"
|
||||||
export RSH="/usr/bin/rsh"
|
export RSH="/usr/bin/rsh"
|
||||||
export DEFAULT_ARCHIVE_FORMAT="POSIX"
|
export DEFAULT_ARCHIVE_FORMAT="POSIX"
|
||||||
@ -97,7 +97,7 @@ export DEFAULT_ARCHIVE_FORMAT="POSIX"
|
|||||||
gl_cv_func_linkat_follow="yes" \
|
gl_cv_func_linkat_follow="yes" \
|
||||||
--enable-backup-scripts \
|
--enable-backup-scripts \
|
||||||
--disable-silent-rules
|
--disable-silent-rules
|
||||||
make %{?_smp_mflags};
|
make %{?_smp_mflags} LDFLAGS="-pie"
|
||||||
cd tests
|
cd tests
|
||||||
make genfile
|
make genfile
|
||||||
mkdir bin
|
mkdir bin
|
||||||
|
Loading…
Reference in New Issue
Block a user