From: Johann Date: Tue, 14 Apr 2015 19:25:14 +0000 (-0400) Subject: Allow specifying a different prefix in x86inc.asm X-Git-Tag: v1.5.0~768^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b09ac154af90b040ee46b32336d990417c9ecbef;p=libvpx Allow specifying a different prefix in x86inc.asm Currently the prefix is forced to vp9 for any function using x86inc.asm. Change-Id: Icbca57ce68a52e743bdd7e9be86cfe8353f274c1 --- diff --git a/third_party/x86inc/README.libvpx b/third_party/x86inc/README.libvpx index 02cd9ab4e..343bcf962 100644 --- a/third_party/x86inc/README.libvpx +++ b/third_party/x86inc/README.libvpx @@ -9,3 +9,4 @@ defines that help automatically allow assembly to work cross-platform. Local Modifications: Some modifications to allow PIC to work with x86inc. +Conditionally define program_name to allow overriding. diff --git a/third_party/x86inc/x86inc.asm b/third_party/x86inc/x86inc.asm index 9273fc97e..bc8116995 100644 --- a/third_party/x86inc/x86inc.asm +++ b/third_party/x86inc/x86inc.asm @@ -36,7 +36,9 @@ %include "vpx_config.asm" +%ifndef program_name %define program_name vp9 +%endif %define UNIX64 0