apply ASLR options #1 65/144265/1 accepted/tizen_5.0_base accepted/tizen_5.5_base accepted/tizen_5.5_base_mobile_hotfix accepted/tizen_5.5_base_wearable_hotfix accepted/tizen_6.0_base_tool_hotfix tizen_5.0_base tizen_5.5_base tizen_5.5_base_mobile_hotfix tizen_5.5_base_wearable_hotfix tizen_5.5_tv tizen_6.0_base_hotfix accepted/tizen/5.0/base/20181101.091630 accepted/tizen/5.5/base/20191030.084541 accepted/tizen/5.5/base/mobile/hotfix/20201023.084121 accepted/tizen/5.5/base/wearable/hotfix/20201023.080519 accepted/tizen/6.0/base/20201029.110100 accepted/tizen/6.0/base/tool/20201029.111740 accepted/tizen/6.0/base/tool/hotfix/20201030.124550 accepted/tizen/6.0/base/tool/hotfix/20201102.085718 accepted/tizen/base/20180323.181809 submit/tizen_5.0_base/20181101.000002 submit/tizen_5.5_base/20191030.000001 submit/tizen_5.5_base_mobile_hotfix/20201023.171502 submit/tizen_5.5_base_wearable_hotfix/20201023.155602 submit/tizen_6.0_base/20201029.184802 submit/tizen_6.0_base_hotfix/20201030.192502 submit/tizen_6.0_base_hotfix/20201102.162702 submit/tizen_base/20180321.052924 submit/tizen_base/20201207.055733 submit/tizen_base/20201208.051733 tizen_5.5.m2_release tizen_6.0.m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 16 Aug 2017 05:53:44 +0000 (14:53 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 16 Aug 2017 05:53:44 +0000 (14:53 +0900)
[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>
packaging/tar.spec

index 812ceecb22252ab1683c3777ba3590961f41a567..85aef81b45c548cbdbef371972dbe6682b83693e 100644 (file)
@@ -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}