projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
737c87a
)
Add used attribute in order to make NEON detection working with -flto.
author
Martin Liska
<mliska@suse.cz>
Wed, 24 Jul 2019 08:12:17 +0000
(10:12 +0200)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 10 Aug 2019 23:19:46 +0000
(
00:19
+0100)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
717581f
..
2fa7ef0
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-225,7
+225,7
@@
AC_MSG_CHECKING(for ARM NEON support in current arch/CFLAGS)
AC_LINK_IFELSE([
AC_LANG_PROGRAM([[
#include <arm_neon.h>
- int32x4_t testfunc(int16_t *a, int16_t *b) {
+ int32x4_t
__attribute__((used))
testfunc(int16_t *a, int16_t *b) {
asm volatile ("vmull.s16 q0, d0, d0" : : : "q0");
return vmull_s16(vld1_s16(a), vld1_s16(b));
}