summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2017-08-16 14:53:44 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2017-08-16 14:53:44 +0900
commitc24e431bf6532f6a0997a6a0ab6955fa61170978 (patch)
tree29926941142ec0c0de155519259e87bbaad21b0e
parent96492f8353e127bf9ffe70713b98eadc6fad3442 (diff)
downloadtar-c24e431bf6532f6a0997a6a0ab6955fa61170978.tar.gz
tar-c24e431bf6532f6a0997a6a0ab6955fa61170978.tar.bz2
tar-c24e431bf6532f6a0997a6a0ab6955fa61170978.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: Ib4e1a2ccf538ac45ebee2c7a36cc6bcd2117cff6 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}