m4 package: fix OS version check (#11290)
f242f5f
removed spec.architecture.platform_os, which was used to test
an option in the 'm4' package. The attribute is now accessed as
'spec.architecture.os'.
This commit is contained in:
parent
f283487670
commit
a27f2978b9
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ def configure_args(self):
|
||||||
|
|
||||||
# http://lists.gnu.org/archive/html/bug-m4/2016-09/msg00002.html
|
# http://lists.gnu.org/archive/html/bug-m4/2016-09/msg00002.html
|
||||||
arch = spec.architecture
|
arch = spec.architecture
|
||||||
if (arch.platform == 'darwin' and arch.platform_os == 'sierra' and
|
if (arch.platform == 'darwin' and arch.os == 'sierra' and
|
||||||
'%gcc' in spec):
|
'%gcc' in spec):
|
||||||
args.append('ac_cv_type_struct_sched_param=yes')
|
args.append('ac_cv_type_struct_sched_param=yes')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue