forked from pool/kbuild
Accepting request 495683 from home:dimstar:Factory
- Add kbuild-gcc7.patch: Fix build with GCC7 (boo#1039375): we also need the definition of strlcpy on Linux; only *BSD has this by default. OBS-URL: https://build.opensuse.org/request/show/495683 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/kbuild?expand=0&rev=32
This commit is contained in:
committed by
Git OBS Bridge
parent
afd905f84e
commit
c451fbfefa
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package kbuild
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -43,6 +43,7 @@ Patch7: kbuild-armv7l.diff
|
||||
Patch8: kbuild-wrong-memset.patch
|
||||
Patch9: ppc64le.patch
|
||||
Patch10: aarch64.patch
|
||||
Patch11: kbuild-gcc7.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@@ -69,6 +70,7 @@ The goals of the kBuild framework:
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
|
Reference in New Issue
Block a user