about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-09-07 14:11:47 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-09-07 14:11:47 -0700
commite9ceaf254cf54569baa266fcb29677c392360edc (patch)
treeea7deb2c32932a71b4d9e77430b3d2e72ca57e59 /nptl
parent691bc9c1e449a9c3a277926fa28f7f41b63cd7df (diff)
downloadglibc-e9ceaf254cf54569baa266fcb29677c392360edc.tar.gz
glibc-e9ceaf254cf54569baa266fcb29677c392360edc.tar.xz
glibc-e9ceaf254cf54569baa266fcb29677c392360edc.zip
Rename LDFLAGS-XXX to LDLIBS-XXX for -lstdc++
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog5
-rw-r--r--nptl/Makefile2
2 files changed, 6 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 34b369809e..d722e1524d 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,8 @@
+2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* debug/Makefile (LDFLAGS-tst-cancel24): Renamed to ...
+	(LDLIBS-tst-cancel24): This.
+
 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
 
 	[BZ #14545]
diff --git a/nptl/Makefile b/nptl/Makefile
index ad7ac05ef4..6f2b66c303 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -507,7 +507,7 @@ $(objpfx)tst-clock2: $(common-objpfx)rt/librt.a
 $(objpfx)tst-rwlock14: $(common-objpfx)rt/librt.a
 endif
 
-LDFLAGS-tst-cancel24 = $(no-as-needed) -lstdc++
+LDLIBS-tst-cancel24 = $(no-as-needed) -lstdc++
 
 extra-B-pthread.so = -B$(common-objpfx)nptl/
 $(objpfx)libpthread.so: $(addprefix $(objpfx),$(crti-objs) $(crtn-objs))