summaryrefslogtreecommitdiffstats
path: root/bare/config/devel/libffi-3.0.13-1.cfg
blob: acb145d9330ad51e1a7284ef2cb5c2714e3004f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#
# LibFFI
#

%if %{release} == %{nil}
%define release 1
%endif

%include %{_configdir}/base.cfg

%define libffi_version 3.0.13

#
# The RTEMS Tools patches.
#
%define rtems_http_git   http://git.rtems.org
%define rtems_git_tools  %{rtems_http_git}/rtems-tools/plain/tools/

#
# Fix pkgconfig file on Fedora 64bit.
#
%patch add libffi %{rtems_git_tools}/libffi/libffi-pkg-config-lib64-fix.diff

#
# The LibFFI build instructions. We use 3.x.x Release 1.
#
%ifn %{pkgconfig check libffi >= 3}
 %include %{_configdir}/libffi-3-1.cfg
%endif