diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2018-03-01 18:52:19 +0000 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2018-03-01 18:52:19 +0000 |
commit | cef9840613e4f8fcf777df0ac10dfcdd7cefb8f5 (patch) | |
tree | 1e7fee43a113c6405dd8c7e2ea3ebede02b75a93 /include/features.h | |
parent | b1d3d3307a3f36af6a3bfedb63e2f424517798d9 (diff) |
fix issue with LDSO_GNU_HASH_SUPPORT
Under Fedora 27 there is a problem with the existing ld check.
Binutils ld segfaults. Add a glibc compat macro to complete
the build on Fedora.
Signed-off-by: Sven Anders <anders@anduras.de>
Diffstat (limited to 'include/features.h')
-rw-r--r-- | include/features.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/features.h b/include/features.h index 4a1066531..d6e45c2ff 100644 --- a/include/features.h +++ b/include/features.h @@ -139,6 +139,9 @@ # define __GNUC_PREREQ(maj, min) 0 #endif +/* Whether to use feature set F. */ +#define __GLIBC_USE(F) __GLIBC_USE_ ## F + /* _DEFAULT_SOURCE is equivalent to defining _BSD_SOURCE and _SVID_SOURCE * and vice versa. */ #ifdef _DEFAULT_SOURCE |