From c6256b749936d249a02fdd1a07fef79d65397e7f Mon Sep 17 00:00:00 2001 From: KO Myung-Hun <komh78@gmail.com> Date: Tue, 19 Nov 2019 21:17:00 +0900 Subject: [PATCH] build: os2: enable X86ASM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémi Denis-Courmont <remi@remlab.net> --- configure.ac | 2 ++ extras/include/x86/x86inc.asm | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 886b49956694..d8f45de762f4 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 b249f2a792dd..a5f48c54d34f 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 -- GitLab