forked from Imagelibrary/rtems
Add cygwin hacks.
This commit is contained in:
@@ -15,6 +15,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
# Required for building the infos
|
||||
BuildRequires: /sbin/install-info
|
||||
BuildRequires: texinfo >= 4.2
|
||||
%else
|
||||
%if "@tool_target@" == "i686-pc-cygwin"
|
||||
BuildRequires: texinfo >= 4.2
|
||||
%endif
|
||||
%endif
|
||||
BuildRequires: flex
|
||||
BuildRequires: bison
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
%build
|
||||
%if "@tool_target@" == "i686-pc-cygwin"
|
||||
# The cygwin sources are leaking memory
|
||||
RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
|
||||
%endif
|
||||
mkdir -p build
|
||||
cd build
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
|
||||
Reference in New Issue
Block a user