Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure: Check availability of __attribute__((symver)). #141

Merged
merged 3 commits into from
Sep 17, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
configure: Check availability of __attribute__((symver)).
Fixes #140.
  • Loading branch information
besser82 committed Sep 17, 2021
commit 9f6bc5d321c0de58847912cb3a51d58818c13d27
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ zw_C_ENDIANNESS
zw_C_STATIC_ASSERT
zw_PROG_LD_WRAP
AX_CHECK_VSCRIPT
AX_GCC_FUNC_ATTRIBUTE(symver)

# FIXME: This only checks whether the linker accepts either
# -Wl,-z,defs or -Wl,--no-undefined. It doesn't check that the switch
Expand Down
2 changes: 1 addition & 1 deletion lib/crypt-port.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ extern size_t strcpy_or_abort (void *dst, size_t d_size, const void *src);

/* Starting with GCC 10, we can use the symver attribute, which is also
needed at the point we decide to enable link-time optimization. */
# if __GNUC__ >= 10
# if defined HAVE_FUNC_ATTRIBUTE_SYMVER

/* Set the symbol version for EXTNAME, which uses INTNAME as its
implementation. */
Expand Down