]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix building tst-linkall-static.
authorCarlos O'Donell <carlos@redhat.com>
Fri, 28 Oct 2016 18:27:52 +0000 (14:27 -0400)
committerCarlos O'Donell <carlos@redhat.com>
Fri, 28 Oct 2016 18:27:52 +0000 (14:27 -0400)
The crypt/ directory is not added as part of the sysdep directories.
Add it when building tst-linkall-static to include crypt.h.

ChangeLog
elf/Makefile

index 6c6caab25df1653e7b80d474b26f0377f422cb68..5847d6b358c41450fa94a159ee83fe62212b5c63 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
 
+       * elf/Makefile (CFLAGS-tst-linkall-static): Define.
+
        * math/test-nan-overflow.c: Include stdlib.h for malloc.
 
 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
index 82c7e0559d8db6ffa4417c9d00c20f48f2db9ff8..057a19fb2b4e623f0d92e855b089b4ba958d86d4 100644 (file)
@@ -1280,6 +1280,7 @@ $(objpfx)tst-ldconfig-X.out : tst-ldconfig-X.sh $(objpfx)ldconfig
 
 $(objpfx)tst-dlsym-error: $(libdl)
 
+CFLAGS-tst-linkall-static.c = -I../crypt
 $(objpfx)tst-linkall-static: \
   $(common-objpfx)math/libm.a \
   $(common-objpfx)crypt/libcrypt.a \