Temporary fix of include-fixed header
authorSlava Barinov <v.barinov@samsung.com>
Wed, 15 Feb 2023 07:22:57 +0000 (10:22 +0300)
committerDongkyun Son <dongkyun.s@samsung.com>
Tue, 5 Mar 2024 09:21:46 +0000 (18:21 +0900)
Change-Id: I50e47a5f04289878a26cd6f0793420aba20dc242

packaging/glibc.spec

index 4405030..363da95 100644 (file)
@@ -704,6 +704,10 @@ done
 %postun info
 %install_info_delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz
 
+%post devel
+# REMOVE ME AFTER ISSUE IS IDENTIFIED
+sed -e 's/__glibc_has_include/__has_include/' -i $(gcc -xc++ /dev/null -E -Wp,-v 2>&1 | sed -n 's,^ ,,p' | grep "include-fixed")/bits/statx.h
+
 %files
 %manifest %{name}.manifest
 # glibc