Fix error: unknown attribute 'long_call' ignored [-Werror,-Wunknown-attributes]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
94655e95ea
commit
f52ad42425
@ -148,7 +148,11 @@
|
||||
* (even though -mlong-calls does not appear in the compilation options)
|
||||
*/
|
||||
|
||||
# define farcall_function __attribute__ ((long_call))
|
||||
# if defined(__clang__)
|
||||
# define farcall_function
|
||||
# else
|
||||
# define farcall_function __attribute__ ((long_call))
|
||||
# endif
|
||||
|
||||
/* Code locate */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user