Add full relro binary hardening option 30/168030/2 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 accepted/tizen_7.0_base_hotfix accepted/tizen_7.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 tizen_7.0_base_hotfix accepted/tizen/5.0/base/20181101.090336 accepted/tizen/5.5/base/20191030.084427 accepted/tizen/5.5/base/mobile/hotfix/20201023.085919 accepted/tizen/5.5/base/wearable/hotfix/20201023.082043 accepted/tizen/6.0/base/20201029.111123 accepted/tizen/6.0/base/tool/20201029.112335 accepted/tizen/6.0/base/tool/hotfix/20201030.125121 accepted/tizen/6.0/base/tool/hotfix/20201102.090510 accepted/tizen/6.5/base/tool/20211027.120540 accepted/tizen/7.0/base/hotfix/20230714.003831 accepted/tizen/7.0/base/tool/20221028.121350 accepted/tizen/7.0/base/tool/hotfix/20221115.085906 accepted/tizen/base/20180126.040742 submit/tizen_5.0_base/20181101.000001 submit/tizen_5.5_base/20191030.000001 submit/tizen_5.5_base_mobile_hotfix/20201023.171501 submit/tizen_5.5_base_wearable_hotfix/20201023.155601 submit/tizen_6.0_base/20201029.184801 submit/tizen_6.0_base_hotfix/20201030.192501 submit/tizen_6.0_base_hotfix/20201102.162701 submit/tizen_6.5_base/20211026.180901 submit/tizen_6.5_base/20211027.183101 submit/tizen_6.5_base/20211027.200801 submit/tizen_7.0_base/20221028.201101 submit/tizen_7.0_base_hotfix/20221115.161601 submit/tizen_base/20180123.150412 tizen_5.5.m2_release tizen_6.0.m2_release tizen_6.5.m2_release tizen_7.0_m2_release
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 23 Jan 2018 14:22:20 +0000 (15:22 +0100)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 23 Jan 2018 14:38:58 +0000 (14:38 +0000)
Change-Id: Ic14ed9284fedd335c107c038630683567a9147d7

packaging/nspr.spec

index 17c5637..9a11b18 100644 (file)
@@ -41,6 +41,7 @@ BUILD_STRING="$(date -u -d "${modified}" "+%%F %%T")"
 BUILD_TIME="$(date -u -d "${modified}" "+%%s000000")"
 #cd nspr
 export CFLAGS="%{optflags}"
+export LDFLAGS+=" -Wl,-z,relro,-z,now"
 %configure --enable-optimize="$CFLAGS" \
 %ifarch x86_64
            --enable-64bit \