[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r8035 - in /trunk/libc: ChangeLog.eglibc timezone/Makefile
- To: commits@xxxxxxxxxx
- Subject: [commits] r8035 - in /trunk/libc: ChangeLog.eglibc timezone/Makefile
- From: maxim@xxxxxxxxxx
- Date: Tue, 03 Mar 2009 13:14:09 -0000
Author: maxim
Date: Tue Mar 3 05:14:09 2009
New Revision: 8035
Log:
2009-03-03 Aurelien Jarno <aurelien@xxxxxxxxxxx>
* timezone/Makefile: Call cross-zic directly instead of using
the target ld.so while generating testdata.
Modified:
trunk/libc/ChangeLog.eglibc
trunk/libc/timezone/Makefile
Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Tue Mar 3 05:14:09 2009
@@ -1,3 +1,8 @@
+2009-03-03 Aurelien Jarno <aurelien@xxxxxxxxxxx>
+
+ * timezone/Makefile: Call cross-zic directly instead of using
+ the target ld.so while generating testdata.
+
2009-03-02 Aurelien Jarno <aurelien@xxxxxxxxxxx>
* nptl/Makefile: Use exec shell command in tst-cancel7 to prevent
Modified: trunk/libc/timezone/Makefile
==============================================================================
--- trunk/libc/timezone/Makefile (original)
+++ trunk/libc/timezone/Makefile Tue Mar 3 05:14:09 2009
@@ -202,10 +202,17 @@
# Don't add leapseconds here since test-tz made checks that work only without
# leapseconds.
testdata = $(objpfx)testdata
+ifeq (no,$(cross-compiling))
define build-testdata
GCONV_PATH=${common-objpfx}iconvdata LANGUAGE=C LC_ALL=C \
$(built-program-cmd) -d $(testdata) -y ./yearistype $<
endef
+else
+define build-testdata
+LANGUAGE=C LC_ALL=C \
+ $(objpfx)cross-zic -d $(testdata) -y ./yearistype $<
+endef
+endif
$(objpfx)test-tz.out: $(addprefix $(testdata)/, America/New_York Etc/UTC UTC)
$(objpfx)tst-timezone.out: $(addprefix $(testdata)/, \