]> git.videolan.org Git - x264.git/commitdiff
strip local symbols from asm .o files, since they confuse oprofile
authorLoren Merritt <pengvado@videolan.org>
Sun, 1 Oct 2006 08:06:22 +0000 (08:06 +0000)
committerLoren Merritt <pengvado@videolan.org>
Sun, 1 Oct 2006 08:06:22 +0000 (08:06 +0000)
git-svn-id: svn://svn.videolan.org/x264/trunk@574 df754926-b1dd-0310-bc7b-ec298dee348c

Makefile

index 53ee47b6973e1fbcb5ae156986c22bc0d34fc972..b20ca4b8af39627ed6b85547b8becd9d766572a0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -88,6 +88,8 @@ common/amd64/*.o: common/amd64/amd64inc.asm
 common/i386/*.o: common/i386/i386inc.asm
 %.o: %.asm
        $(AS) $(ASFLAGS) -o $@ $<
+# delete local/anonymous symbols, so they don't show up in oprofile
+       -@ strip -x $@
 
 .depend: config.mak
        rm -f .depend