[vlc-devel] [PATCH 5/5] build: os2: enable X86ASM
KO Myung-Hun
komh78 at gmail.com
Sun Jun 16 16:35:38 CEST 2019
---
configure.ac | 2 ++
extras/include/x86/x86inc.asm | 2 ++
2 files changed, 4 insertions(+)
diff --git a/configure.ac b/configure.ac
index 9e9d56d2b6..840c1b4146 100644
--- a/configure.ac
+++ b/configure.ac
@@ -314,6 +314,8 @@ case "${host_os}" in
AC_LIBOBJ([freeaddrinfo])
AC_LIBOBJ([gai_strerror])
AC_CHECK_FUNCS([if_nametoindex])
+ X86ASMFLAGS="-f aout"
+ X86ASMDEFS="-DARCH_X86_32=1 -DARCH_X86_64=0 -DPREFIX"
;;
*nacl*)
SYS=nacl
diff --git a/extras/include/x86/x86inc.asm b/extras/include/x86/x86inc.asm
index b249f2a792..a5f48c54d3 100644
--- a/extras/include/x86/x86inc.asm
+++ b/extras/include/x86/x86inc.asm
@@ -84,6 +84,8 @@
SECTION .rdata align=%1
%elif WIN64
SECTION .rdata align=%1
+ %elifidn __OUTPUT_FORMAT__,aout
+ SECTION .text
%else
SECTION .rodata align=%1
%endif
--
2.13.3
More information about the vlc-devel
mailing list