mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
rename strip_fPIC.sh to strip_non_asm_libtool_args.sh, as it takes on new duties stripping other arguments for other assemblers
This commit is contained in:
@@ -45,6 +45,7 @@ endif
|
||||
if FLaC__CPU_PPC
|
||||
ARCH_SUBDIRS = ppc
|
||||
libFLAC_la_LIBADD = ppc/libFLAC-asm.la
|
||||
LOCAL_EXTRA_LDFLAGS = "-Wl,-read_only_relocs,warning"
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -60,7 +61,7 @@ EXTRA_DIST = \
|
||||
libFLAC.m4
|
||||
|
||||
# see 'http://www.gnu.org/software/libtool/manual.html#Versioning' for numbering convention
|
||||
libFLAC_la_LDFLAGS = -version-info 5:2:1 -lm
|
||||
libFLAC_la_LDFLAGS = -version-info 5:2:1 -lm $(LOCAL_EXTRA_LDFLAGS)
|
||||
libFLAC_la_SOURCES = \
|
||||
bitbuffer.c \
|
||||
bitmath.c \
|
||||
|
||||
@@ -30,10 +30,10 @@
|
||||
|
||||
SUFFIXES = .nasm .lo
|
||||
|
||||
STRIP_FPIC = sh $(top_srcdir)/strip_fPIC.sh
|
||||
STRIP_NON_ASM = sh $(top_srcdir)/strip_non_asm_libtool_args.sh
|
||||
|
||||
.nasm.lo:
|
||||
$(LIBTOOL) --mode=compile $(STRIP_FPIC) $(NASM) -f $(OBJ_FORMAT) -d OBJ_FORMAT_$(OBJ_FORMAT) -i$(srcdir)/ $< -o $@
|
||||
$(LIBTOOL) --mode=compile $(STRIP_NON_ASM) $(NASM) -f $(OBJ_FORMAT) -d OBJ_FORMAT_$(OBJ_FORMAT) -i$(srcdir)/ $< -o $@
|
||||
|
||||
noinst_LTLIBRARIES = libFLAC-asm.la
|
||||
libFLAC_asm_la_SOURCES = \
|
||||
|
||||
Reference in New Issue
Block a user