summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyoungJune Park <mj2004.park@samsung.com>2017-08-11 17:11:10 +0900
committerMyoungJune Park <mj2004.park@samsung.com>2017-08-11 17:11:37 +0900
commit42a04cb81533de4c8b7d67a70b94b944eb122fc8 (patch)
tree943b50a4e57d31d1b1954304316cc33df0d329b1
parent5fafc98c53c0f2cc3f136f8f01b48bebed8f0be5 (diff)
downloadsed-42a04cb81533de4c8b7d67a70b94b944eb122fc8.tar.gz
sed-42a04cb81533de4c8b7d67a70b94b944eb122fc8.tar.bz2
sed-42a04cb81533de4c8b7d67a70b94b944eb122fc8.zip
Change-Id: Ie737594af3c616ce07beff9cab5e23b2c9142628 Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
-rw-r--r--packaging/sed.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/sed.spec b/packaging/sed.spec
index 1df1565..34c87c4 100644
--- a/packaging/sed.spec
+++ b/packaging/sed.spec
@@ -23,7 +23,8 @@ cp %{SOURCE1001} .
%build
%define warn_flags -Wall -Wstrict-prototypes -Wpointer-arith -Wformat-security
-export CFLAGS="%{optflags} %warn_flags"
+export CFLAGS="%{optflags} %warn_flags -fPIC"
+export LDFLAGS=" -pie"
%configure --prefix=/usr \
--mandir=%{_mandir} \
--infodir=%{_infodir} \