Description: 移除 libpolyml/elfexport.cpp 中对 asm/elf.h 的引用
 新版 Linux 内核头文件的 asm/elf.h 使用了 C11 关键字 _Static_assert，
 在 C++ 编译时导致语法错误。该头文件仅为实验性的 Android 构建添加，
 实际代码未使用其任何符号，直接移除引用即可。对应上游提交
 a84a640e645f77c9160672696a796d805858914d 中 elfexport.cpp 部分的改动。
Author: tangxiaofeng <tangxiaofeng@kylinos.cn>
Origin: upstream, https://github.com/polyml/polyml/commit/a84a640e645f77c9160672696a796d805858914d
Forwarded: not-needed
Last-Update: 2026-09-05

--- polyml-5.7.1.orig/libpolyml/elfexport.cpp
+++ polyml-5.7.1/libpolyml/elfexport.cpp
@@ -90,11 +90,6 @@
 #include <sys/elf_amd64.h>
 #endif
 
-// Android has the ARM relocation symbol here
-#ifdef HAVE_ASM_ELF_H
-#include <asm/elf.h>
-#endif
-
 #ifdef HAVE_STRING_H
 #include <string.h>
 #endif

