1 This changes the way _EXTERN_INLINE is defined so we can
2 avoid external definition errors.
3 https://lists.gnu.org/archive/html/bug-hurd/2014-04/msg00002.html
5 diff --git a/signal/sigsetops.c b/signal/sigsetops.c
6 index 0317662..b92c296 100644
7 --- a/signal/sigsetops.c
8 +++ b/signal/sigsetops.c
13 -#define _EXTERN_INLINE
14 +#ifndef _EXTERN_INLINE
15 +#define _EXTERN_INLINE __extern_inline
17 #ifndef __USE_EXTERN_INLINES
18 # define __USE_EXTERN_INLINES 1
21 Link libmachuser and libhurduser automatically with libc, since they are
22 considered a standard part of the API in GNU-land.
27 '$(libdir)/$(patsubst %,$(libtype.oS),$(libprefix)$(libc-name))'\
28 ' AS_NEEDED (' $(rtlddir)/$(rtld-installed-name) ') )' \
30 +ifeq ($(patsubst gnu%,,$(config-os)),)
31 + echo 'INPUT ( AS_NEEDED ( -lmachuser -lhurduser ) )' >> $@.new