[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 <dh0128.kwak@samsung.com>
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