masurca: Fix build with glibc-2.32+ (#26173)

remove sysctl.h which is not used by the build
This commit is contained in:
snehring 2021-10-04 10:59:01 -05:00 committed by GitHub
parent 90fa50d9df
commit 9a8712f4cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,8 @@ class Masurca(Package):
patch('arm.patch', when='target=aarch64:')
def patch(self):
filter_file('#include <sys/sysctl.h>', '',
'global-1/CA8/src/AS_BAT/memoryMappedFile.H')
if self.spec.target.family == 'aarch64':
for makefile in 'Makefile.am', 'Makefile.in':
m = join_path('global-1', 'prepare', makefile)