From d07c2d5b7f953d9895974ea1a0b3bcf4e94396e786e99ad1838afb298d3a67e3 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Fri, 2 Jan 2015 12:05:51 +0000 Subject: [PATCH] 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 --- ntfs-3g_ntfsprogs.changes | 5 +++++ ntfs-3g_ntfsprogs.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ntfs-3g_ntfsprogs.changes b/ntfs-3g_ntfsprogs.changes index badf813..ec59e01 100644 --- a/ntfs-3g_ntfsprogs.changes +++ b/ntfs-3g_ntfsprogs.changes @@ -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 diff --git a/ntfs-3g_ntfsprogs.spec b/ntfs-3g_ntfsprogs.spec index fc96879..87bbfce 100644 --- a/ntfs-3g_ntfsprogs.spec +++ b/ntfs-3g_ntfsprogs.spec @@ -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}