diff options
author | jstebbins <[email protected]> | 2014-02-15 16:31:11 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2014-02-15 16:31:11 +0000 |
commit | d6309a23ece277239608547500b0bc9b15873dc3 (patch) | |
tree | 879754eefc755612270f61c7fb5ed26480190f8e /make | |
parent | 1a1b1591ef5acd8495dc8e736a47852e93694020 (diff) |
libhb: Add cpuid inline asm macro
This eliminates our reliance on the private (unexported) libavutil
function ff_cpu_cpuid().
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6032 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'make')
-rw-r--r-- | make/configure.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/make/configure.py b/make/configure.py index ea9c8b3c2..c3d4ea0ba 100644 --- a/make/configure.py +++ b/make/configure.py @@ -1741,6 +1741,11 @@ int main () doc.add( 'GCC.sysroot', '' ) doc.add( 'GCC.minver', '' ) + if build.match( 'i?86-*' ): + doc.add( 'LIBHB.GCC.D', 'ARCH_X86_32', append=True ) + elif build.match( 'x86_64-*' ): + doc.add( 'LIBHB.GCC.D', 'ARCH_X86_64', append=True ) + if options.enable_asm and ( not Tools.yasm.fail or options.enable_local_yasm ): asm = '' if build.match( 'i?86-*' ): |