summaryrefslogtreecommitdiffstats
path: root/bare/config/devel/libffi-3.0.13-1.cfg
blob: 7fc0cc0fe73f66a2b4b17c9fd66d9e71df1c9f7d (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
30
31
#
# LibFFI
#

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

%include %{_configdir}/base.cfg

%define libffi_version 3.0.13
%hash md5 libffi-3.0.13.tar.gz d41d8cd98f00b204e9800998ecf8427e

#
# 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
%hash md5 libffi-pkg-config-lib64-fix.diff ad8312d972720ab59fb9212d44d37792

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