Explorar o código

getauxval: remove header for static builds

Fixes haveged compile issues in OpenADK and buildroot when
a static toolchain is used.
Waldemar Brodkorb %!s(int64=2) %!d(string=hai) anos
pai
achega
df81bd1e2c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Makefile.in

+ 1 - 1
Makefile.in

@@ -256,7 +256,7 @@ HEADERS_RM- := \
 ifeq ($(UCLIBC_STRICT_HEADERS),y)
 HEADERS_RM- += sgtty.h
 endif
-HEADERS_RM-$(HAVE_SHARED)                    += dlfcn.h bits/dlfcn.h
+HEADERS_RM-$(HAVE_SHARED)                    += dlfcn.h bits/dlfcn.h sys/auxv.h
 HEADERS_RM-$(PTHREADS_DEBUG_SUPPORT)         += thread_db.h
 HEADERS_RM-$(UCLIBC_HAS_ARGP)                += argp.h
 HEADERS_RM-$(UCLIBC_HAS_BSD_ERR)             += err.h