Add sed hack for F35 onwards

This commit is contained in:
Christopher Brown 2021-09-01 12:08:06 +01:00
parent eda30e43f1
commit f945e21101
1 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,7 @@ License: GPLv2+
URL: https://kernel.ubuntu.com/~cking/%{name}
Source0: https://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.xz
BuildRequires: make
BuildRequires: make
BuildRequires: gcc
BuildRequires: glibc-devel
BuildRequires: kernel-headers
@ -29,6 +29,8 @@ system kernel interfaces.
%prep
%setup -q
# Nasty sed to get it building on F35
sed -i '39 i override undefine V' Makefile
%build
export CFLAGS="%{optflags}"