forked from pool/kbuild
Accepting request 791061 from home:marxin:branches:devel:tools:building
- Add gcc10-fno-common-fix.patch in order to fix boo#1160274. OBS-URL: https://build.opensuse.org/request/show/791061 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/kbuild?expand=0&rev=46
This commit is contained in:
parent
7ad603aa68
commit
f7ba911e50
13
gcc10-fno-common-fix.patch
Normal file
13
gcc10-fno-common-fix.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/src/kmk/make.h b/src/kmk/make.h
|
||||
index 982cd0c..aa64452 100644
|
||||
--- a/src/kmk/make.h
|
||||
+++ b/src/kmk/make.h
|
||||
@@ -472,7 +472,7 @@ extern int unixy_shell;
|
||||
#endif
|
||||
#ifdef SET_STACK_SIZE
|
||||
# include <sys/resource.h>
|
||||
-struct rlimit stack_limit;
|
||||
+extern struct rlimit stack_limit;
|
||||
#endif
|
||||
|
||||
struct floc
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 3 05:46:51 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add gcc10-fno-common-fix.patch in order to fix boo#1160274.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 17 16:11:30 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package kbuild
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LLC
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -39,6 +39,7 @@ Patch11: kbuild-gcc7.patch
|
||||
Patch12: use-alloca.patch
|
||||
Patch13: glob-lstat.patch
|
||||
Patch14: glob-interface.patch
|
||||
Patch15: gcc10-fno-common-fix.patch
|
||||
BuildRequires: automake
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
@ -74,6 +75,7 @@ The goals of the kBuild framework:
|
||||
%patch12
|
||||
%patch13 -p1
|
||||
%patch14 -p1
|
||||
%patch15 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user