forked from pool/python-parted
		
	- Enable -fcommon which is not default with GCC10.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parted?expand=0&rev=10
This commit is contained in:
		| @@ -1,3 +1,8 @@ | |||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Tue Jun  2 12:08:22 UTC 2020 - Matej Cepl <mcepl@suse.com> | ||||||
|  |  | ||||||
|  | - Enable -fcommon which is not default with GCC10. | ||||||
|  |  | ||||||
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ||||||
| Thu May 24 15:26:23 UTC 2018 - tchvatal@suse.com | Thu May 24 15:26:23 UTC 2018 - tchvatal@suse.com | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| # | # | ||||||
| # spec file for package python-parted | # spec file for package python-parted | ||||||
| # | # | ||||||
| # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. | # Copyright (c) 2020 SUSE LLC | ||||||
| # | # | ||||||
| # All modifications and additions to the file contributed by third parties | # All modifications and additions to the file contributed by third parties | ||||||
| # remain the property of their copyright owners, unless otherwise agreed | # remain the property of their copyright owners, unless otherwise agreed | ||||||
| @@ -12,7 +12,7 @@ | |||||||
| # license that conforms to the Open Source Definition (Version 1.9) | # license that conforms to the Open Source Definition (Version 1.9) | ||||||
| # published by the Open Source Initiative. | # published by the Open Source Initiative. | ||||||
|  |  | ||||||
| # Please submit bugfixes or comments via http://bugs.opensuse.org/ | # Please submit bugfixes or comments via https://bugs.opensuse.org/ | ||||||
| # | # | ||||||
|  |  | ||||||
|  |  | ||||||
| @@ -54,6 +54,8 @@ partition tables. | |||||||
| %autopatch -p1 | %autopatch -p1 | ||||||
|  |  | ||||||
| %build | %build | ||||||
|  | export CFLAGS="%{optflags} -fcommon" | ||||||
|  | export CXXFLAGS="%{optflags} -fcommon" | ||||||
| %python_build | %python_build | ||||||
|  |  | ||||||
| %install | %install | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user