summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2017-08-16 14:53:44 +0900
committerMyoungJune Park <mj2004.park@samsung.com>2017-09-08 10:41:15 +0900
commitac11054d2693b37bd83c70259a55016b67189e0b (patch)
tree29926941142ec0c0de155519259e87bbaad21b0e
parent96492f8353e127bf9ffe70713b98eadc6fad3442 (diff)
downloadtar-tizen_4.0_tv.tar.gz
tar-tizen_4.0_tv.tar.bz2
tar-tizen_4.0_tv.zip
[Model] All [BinType] AP [Customer] OPEN [Issue#] N/A [Request] N/A [Occurrence Version] N/A [Problem] [Cause & Measure] [Checking Method] N/A [Team] Open Source Management and Setting Part [Developer] dh0128.kwak [Solution company] Samsung [Change Type] N/A Change-Id: I83738a402eda887af07d118939215294c1b3b150 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
-rw-r--r--packaging/tar.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/packaging/tar.spec b/packaging/tar.spec
index 812ceec..85aef81 100644
--- a/packaging/tar.spec
+++ b/packaging/tar.spec
@@ -37,9 +37,13 @@ cp %{SOURCE1001} .
# gl_cv_func_linkat_follow="yes" \
# --disable-silent-rules \
# --disable-nls
+
+CFLAGS+=" -fPIE"
+LDFLAGS+=" -pie"
+
%configure --disable-static \
--disable-nls
-make %{?_smp_mflags} CFLAGS=" -fPIE" LDFLAGS=" -pie"
+make %{?_smp_mflags}
%check
%if %{run_tests}