Change-Id: Iffdd7f74eee1a36efe73258aaab9d7309cfc993c
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
This package contains all necessary include files and libraries needed
to develop applications that require these.
This package contains all necessary include files and libraries needed
to develop applications that require these.
%package noasan-static
Summary: An ELF Object File Access Library (static library build without of ASan)
Group: Development/Libraries/C and C++
%package noasan-static
Summary: An ELF Object File Access Library (static library build without of ASan)
Group: Development/Libraries/C and C++
%description noasan-static
This package contains static library built without of ASan.
It is required for static builds in full ASan sanitized environment.
%description noasan-static
This package contains static library built without of ASan.
It is required for static builds in full ASan sanitized environment.
%prep
%setup -q -n libelf-%{version}
%prep
%setup -q -n libelf-%{version}
%configure --disable-nls
make %{?_smp_mflags}
%configure --disable-nls
make %{?_smp_mflags}
/usr/bin/gcc-unforce-options
mkdir noasan
cd noasan
../configure --disable-nls --disable-shared
make %{?_smp_mflags} all
cd ..
/usr/bin/gcc-unforce-options
mkdir noasan
cd noasan
../configure --disable-nls --disable-shared
make %{?_smp_mflags} all
cd ..
%install
make install instroot=%{buildroot}
%install
make install instroot=%{buildroot}
%{_libdir}/pkgconfig/libelf.pc
%{_includedir}/libelf
%{_libdir}/pkgconfig/libelf.pc
%{_includedir}/libelf
%files noasan-static
%manifest %{name}.manifest
%defattr(-,root,root)
%{_libdir}/libelf-noasan.a
%files noasan-static
%manifest %{name}.manifest
%defattr(-,root,root)
%{_libdir}/libelf-noasan.a