add aoutb support for openbsd
This commit is contained in:
parent
1162f1829e
commit
be00e30695
@ -40,6 +40,7 @@ AM_CONDITIONAL(FLaC__CPU_IA32, test x$cpu_ia32 = xtrue)
|
||||
AM_CONDITIONAL(FLaC__CPU_PPC, test x$cpu_ppc = xtrue)
|
||||
AM_CONDITIONAL(FLaC__CPU_SPARC, test x$cpu_sparc = xtrue)
|
||||
case "$host" in
|
||||
i[3-6]86-*-openbsd*) OBJ_FORMAT=aoutb ;;
|
||||
*) OBJ_FORMAT=elf ;;
|
||||
esac
|
||||
AC_SUBST(OBJ_FORMAT)
|
||||
|
@ -28,6 +28,11 @@
|
||||
%idefine code_section section .text
|
||||
%idefine data_section section .data
|
||||
%idefine bss_section section .bss
|
||||
%elifdef OBJ_FORMAT_aoutb
|
||||
%define FLAC__PUBLIC_NEEDS_UNDERSCORE
|
||||
%idefine code_section section .text
|
||||
%idefine data_section section .data
|
||||
%idefine bss_section section .bss
|
||||
%elifdef OBJ_FORMAT_elf
|
||||
%idefine code_section section .text align=16
|
||||
%idefine data_section section .data align=32
|
||||
|
Loading…
Reference in New Issue
Block a user