enable uclibc
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/klee?expand=0&rev=6
This commit is contained in:
parent
2560897075
commit
a1752d2bff
10
klee.spec
10
klee.spec
@ -19,6 +19,8 @@
|
||||
|
||||
%define version_unconverted 1.3.0+20170221
|
||||
|
||||
%define with_uclibc 1
|
||||
|
||||
Name: klee
|
||||
Summary: LLVM Execution Engine
|
||||
License: NCSA
|
||||
@ -36,6 +38,9 @@ BuildRequires: clang%{llvm_version}
|
||||
BuildRequires: cmake
|
||||
BuildRequires: flex
|
||||
BuildRequires: gperftools-devel
|
||||
%if %{with_uclibc}
|
||||
BuildRequires: klee-uclibc
|
||||
%endif
|
||||
BuildRequires: libacl-devel
|
||||
BuildRequires: libcap-devel
|
||||
BuildRequires: libselinux-devel
|
||||
@ -71,6 +76,11 @@ information on what KLEE is and what it can do, see the OSDI 2008 paper.
|
||||
-DENABLE_SYSTEM_TESTS=OFF \
|
||||
-DCMAKE_C_FLAGS="%optflags" \
|
||||
-DCMAKE_CXX_FLAGS="%optflags" \
|
||||
%if %{with_uclibc}
|
||||
-DENABLE_POSIX_RUNTIME=ON \
|
||||
-DENABLE_KLEE_UCLIBC=ON \
|
||||
-DKLEE_UCLIBC_PATH=%{_libdir}/klee-uclibc/ \
|
||||
%endif
|
||||
-DBUILD_SHARED_LIBS:BOOL=OFF
|
||||
%make_jobs
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user