patch from collver at linuxfreemail.com
authorJosh Coalson <jcoalson@users.sourceforce.net>
Mon, 16 Jul 2001 18:04:19 +0000 (18:04 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Mon, 16 Jul 2001 18:04:19 +0000 (18:04 +0000)
src/libFLAC/ia32/Makefile.am

index cb683b7..c56616e 100644 (file)
 #  Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 #  Boston, MA  02111-1307, USA.
 
-# nasm build rule:
 SUFFIXES = .nasm .lo
+
+STRIP_FPIC = sh $(top_srcdir)/strip_fPIC.sh
+
 .nasm.lo:
-       $(NASM) -f $(OBJ_FORMAT) -d OBJ_FORMAT_$(OBJ_FORMAT) $< -o $@
+       $(LIBTOOL) --tag=CC --mode=compile \
+               $(STRIP_FPIC) $(NASM) -f $(OBJ_FORMAT) -d OBJ_FORMAT_$(OBJ_FORMAT) $<
+
+#@@@OLD RULE:  $(NASM) -f $(OBJ_FORMAT) -d OBJ_FORMAT_$(OBJ_FORMAT) $< -o $@
 
 noinst_LTLIBRARIES = libFLAC-asm.la
 libFLAC_asm_la_SOURCES = \