aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2016-10-28 14:27:52 -0400
committerCarlos O'Donell <carlos@redhat.com>2016-10-28 14:27:52 -0400
commitb2fea743ab4992653b013a5317c8b630a0771f0e (patch)
tree25b9a32b37149de243cdf82ace578b31cabab93d
parentc31746887dc5007f7b77f8f99b5e9335bebec167 (diff)
downloadglibc-b2fea743ab4992653b013a5317c8b630a0771f0e.zip
glibc-b2fea743ab4992653b013a5317c8b630a0771f0e.tar.gz
glibc-b2fea743ab4992653b013a5317c8b630a0771f0e.tar.bz2
Fix building tst-linkall-static.
The crypt/ directory is not added as part of the sysdep directories. Add it when building tst-linkall-static to include crypt.h.
-rw-r--r--ChangeLog2
-rw-r--r--elf/Makefile1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6c6caab..5847d6b 100644
--- 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>
diff --git a/elf/Makefile b/elf/Makefile
index 82c7e05..057a19f 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -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 \