mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 17:34:47 +00:00
Adding include path for ffi.h
This commit is contained in:
parent
4a47cafc5a
commit
5b96b3dfff
1 changed files with 8 additions and 1 deletions
|
@ -47,7 +47,7 @@ Obsoletes: pure <= 0.55
|
||||||
|
|
||||||
Name: llvm
|
Name: llvm
|
||||||
Version: 3.4
|
Version: 3.4
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: The Low Level Virtual Machine
|
Summary: The Low Level Virtual Machine
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
|
@ -305,6 +305,10 @@ sed -i 's|/lib\>|/%{_lib}/%{name}|g' tools/llvm-config/llvm-config.cpp
|
||||||
# clang is lovely and all, but fedora builds with gcc
|
# clang is lovely and all, but fedora builds with gcc
|
||||||
export CC=gcc
|
export CC=gcc
|
||||||
export CXX=c++
|
export CXX=c++
|
||||||
|
# Add include path for ffi.h
|
||||||
|
export CPPFLAGS=-I$(echo %{_libdir}/libffi-*/include)
|
||||||
|
export CFLAGS="$RPM_OPT_FLAGS $CPPFLAGS"
|
||||||
|
export CXXFLAGS="$RPM_OPT_FLAGS $CPPFLAGS"
|
||||||
%configure \
|
%configure \
|
||||||
--libdir=%{_libdir}/%{name} \
|
--libdir=%{_libdir}/%{name} \
|
||||||
--disable-polly \
|
--disable-polly \
|
||||||
|
@ -661,6 +665,9 @@ exit 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 04 2014 Dave Johansen <davejohansen@gmail.com> 3.4-7
|
||||||
|
- Adding include path for ffi.h
|
||||||
|
|
||||||
* Mon Feb 03 2014 Dave Johansen <davejohansen@gmail.com> 3.4-6
|
* Mon Feb 03 2014 Dave Johansen <davejohansen@gmail.com> 3.4-6
|
||||||
- Removing specification of --with-c-include-dirs
|
- Removing specification of --with-c-include-dirs
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue