summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--time/Makefile8
2 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d0a8531878..024d40ef4e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Jan 28 19:42:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * time/Makefile: Fix check for cross compiling.
+
Thu Jan 25 21:10:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* db/Makefile (subdir-dirs): Renamed from dbdirs.
diff --git a/time/Makefile b/time/Makefile
index 19af2df8e1..b0d671ab9b 100644
--- a/time/Makefile
+++ b/time/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
+# Copyright (C) 1991, 92, 93, 94, 95, 96 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -59,7 +59,7 @@ installed-posixrules-file := $(firstword $(filter /%,$(posixrules-file)) \
$(addprefix $(zonedir)/, \
$(posixrules-file)))
-ifndef cross-compiling
+ifeq ($(cross-compiling),no)
# Don't try to install the zoneinfo files since we can't run zic.
install-others = $(addprefix $(zonedir)/,$(zonenames)) \
$(installed-localtime-file) $(installed-posixrules-file)
@@ -124,3 +124,7 @@ tz-cc = $(COMPILE.c) $(+gcc-nowarn) \
-DTZDEFAULT='"$(localtime-file)"' \
-DTZDEFRULES='"$(posixrules-file)"' \
$< $(OUTPUT_OPTION)
+
+CFLAGS-zdump.c = -Wno-strict-prototypes
+CFLAGS-zic.c = -Wno-strict-prototypes
+CFLAGS-ialloc.c = -Wno-strict-prototypes