[vlc-commits] build: os2: enable X86ASM

KO Myung-Hun git at videolan.org
Fri Nov 29 19:14:06 CET 2019


vlc | branch: master | KO Myung-Hun <komh78 at gmail.com> | Tue Nov 19 21:17:00 2019 +0900| [c6256b749936d249a02fdd1a07fef79d65397e7f] | committer: Rémi Denis-Courmont

build: os2: enable X86ASM

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c6256b749936d249a02fdd1a07fef79d65397e7f
---

 configure.ac                  | 2 ++
 extras/include/x86/x86inc.asm | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/configure.ac b/configure.ac
index 886b499566..d8f45de762 100644
--- a/configure.ac
+++ b/configure.ac
@@ -318,6 +318,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



More information about the vlc-commits mailing list