Skip to content

Commit 41a413b

Browse files
committed
Define correct symbols for getauxval
1 parent d38feb6 commit 41a413b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
11101110
]], [[
11111111
getauxval(AT_HWCAP);
11121112
]])],
1113-
[ AC_MSG_RESULT(yes); HAVE_STRONG_GETAUXVAL=1 ],
1113+
[ AC_MSG_RESULT(yes); HAVE_STRONG_GETAUXVAL=1; AC_DEFINE(HAVE_STRONG_GETAUXVAL, 1, [Define this symbol to build code that uses getauxval)]) ],
11141114
[ AC_MSG_RESULT(no); HAVE_STRONG_GETAUXVAL=0 ]
11151115
)
11161116

@@ -1121,7 +1121,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
11211121
]], [[
11221122
getauxval(AT_HWCAP);
11231123
]])],
1124-
[ AC_MSG_RESULT(yes); HAVE_WEAK_GETAUXVAL=1 ],
1124+
[ AC_MSG_RESULT(yes); HAVE_WEAK_GETAUXVAL=1; AC_DEFINE(HAVE_WEAK_GETAUXVAL, 1, [Define this symbol to build code that uses getauxval (weak linking)]) ],
11251125
[ AC_MSG_RESULT(no); HAVE_WEAK_GETAUXVAL=0 ]
11261126
)
11271127

0 commit comments

Comments
 (0)