cli: Fix linking with --system-libx264 on x86
authorHenrik Gramner <henrik@gramner.com>
Tue, 7 Aug 2018 20:42:22 +0000 (22:42 +0200)
committerHenrik Gramner <henrik@gramner.com>
Wed, 22 Aug 2018 23:34:51 +0000 (01:34 +0200)
common/x86/cpu-a.asm

index d94f7d5..a41d67f 100644 (file)
@@ -83,7 +83,7 @@ cglobal cpu_sfence
 ;-----------------------------------------------------------------------------
 ; intptr_t stack_align( void (*func)(void*), ... ); (up to 5 args)
 ;-----------------------------------------------------------------------------
-cglobal stack_align
+cvisible stack_align
     mov      rax, r0mp
     mov       r0, r1mp
     mov       r1, r2mp
@@ -131,7 +131,7 @@ cglobal cpu_cpuid_test
     popfd
     ret
 
-cglobal stack_align
+cvisible stack_align
     push      ebp
     mov       ebp, esp
     sub       esp, 20