fix libFLAC to build PPC asm properly, conditionalized for gas or as

This commit is contained in:
Josh Coalson
2004-12-30 01:13:03 +00:00
parent d4b2955854
commit b990022c95
5 changed files with 43 additions and 4 deletions

View File

@@ -44,8 +44,13 @@ endif
endif
if FLaC__CPU_PPC
ARCH_SUBDIRS = ppc
#@@@@@@ need to conditionalize this to gas or as depending on configure
if FLaC__HAS_AS
libFLAC_la_LIBADD = ppc/as/libFLAC-asm.la
else
if FLaC__HAS_GAS
libFLAC_la_LIBADD = ppc/gas/libFLAC-asm.la
endif
endif
LOCAL_EXTRA_LDFLAGS = "-Wl,-read_only_relocs,warning"
endif
endif