From d26b52957260c9d5c59ef2153af3b9eeea8b28d5 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Thu, 18 Jan 2018 14:12:07 +0900 Subject: [PATCH] Add ASLP patch [Model] All [BinType] AP [Customer] OPEN [Issue#] N/A [Request] N/A [Occurrence Version] N/A [Problem] not adjunst pie compile option [Cause & Measure] add pie compile option at spec file [Checking Method] [Team] Open Source Management and Setting Part [Developer] dh0128.kwak [Solution company] Samsung [Change Type] N/A Change-Id: I8177cbbdf8d6aab6b0f390a6ea0fc2372d375558 Signed-off-by: DongHun Kwak --- packaging/expat.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packaging/expat.spec b/packaging/expat.spec index 9594414..51880f5 100644 --- a/packaging/expat.spec +++ b/packaging/expat.spec @@ -104,11 +104,15 @@ cp %{SOURCE1001} . rm -f examples/*.dsp %build +export CFLAGS="${CFLAGS} -fPIC" +export CXXFLAGS="${CXXFLAGS} -fPIC" +export LDFLAGS="${LDFLAGS} -pie" + %reconfigure --disable-static --with-pic make %{?_smp_mflags} %check - %__make check || exit 0 + %__make check || exit 0 %install %make_install -- 2.7.4