mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
Support nasm coff obj format for djgpp
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
This commit is contained in:
committed by
Erik de Castro Lopo
parent
c6318e9dd3
commit
31b219f0bf
@@ -163,6 +163,7 @@ case "$host" in
|
||||
*-*-cygwin|*mingw*) OBJ_FORMAT=win32 ;;
|
||||
*-*-darwin*) OBJ_FORMAT=macho ;;
|
||||
*emx*) OBJ_FORMAT=aout ;;
|
||||
*djgpp) OBJ_FORMAT=coff ;;
|
||||
*) OBJ_FORMAT=elf ;;
|
||||
esac
|
||||
AC_SUBST(OBJ_FORMAT)
|
||||
|
||||
@@ -46,6 +46,11 @@
|
||||
%idefine code_section section .text
|
||||
%idefine data_section section .data
|
||||
%idefine bss_section section .bss
|
||||
%elifdef OBJ_FORMAT_coff
|
||||
%define FLAC__PUBLIC_NEEDS_UNDERSCORE
|
||||
%idefine code_section section .text
|
||||
%idefine data_section section .data
|
||||
%idefine bss_section section .bss
|
||||
%elifdef OBJ_FORMAT_macho
|
||||
%define FLAC__PUBLIC_NEEDS_UNDERSCORE
|
||||
%idefine code_section section .text
|
||||
|
||||
Reference in New Issue
Block a user