Accepting request 267003 from home:msmeissn:branches:filesystems

- build with PIE

OBS-URL: https://build.opensuse.org/request/show/267003
OBS-URL: https://build.opensuse.org/package/show/filesystems/ntfs-3g_ntfsprogs?expand=0&rev=23
This commit is contained in:
David Sterba 2015-01-02 12:05:51 +00:00 committed by Git OBS Bridge
parent dde35ab7c8
commit d07c2d5b7f
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 1 22:16:09 UTC 2015 - meissner@suse.com
- build with PIE
-------------------------------------------------------------------
Tue Nov 18 22:18:43 UTC 2014 - crrodriguez@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package ntfs-3g_ntfsprogs
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -108,7 +108,8 @@ options to display the version number and usage syntax.
# which is signed and would possibly ok to be unsigned. Any solution to this
# needs to be carefully reviewed and tested, so we do not change the code now:
#
export CFLAGS="$RPM_OPT_FLAGS -Wformat -Wformat-security -W -Wno-sign-compare"
export CFLAGS="$RPM_OPT_FLAGS -Wformat -Wformat-security -W -Wno-sign-compare -fPIE"
export LDFLAGS="-pie"
%configure --exec-prefix=/ --disable-static --with-pic --disable-ldconfig \
--with-fuse=external --enable-posix-acls
make %{?_smp_mflags}