summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-01-29 16:11:27 +0000
committerRoland McGrath <roland@gnu.org>1996-01-29 16:11:27 +0000
commit429ed67ba10dccfa6472bf803473fd20c0203309 (patch)
tree6f1aeb773b40448d6eb45af19bd8a403d257096a /time
parent19c3f20809aa8eed924084b45c5390674cfdbbbc (diff)
Sun Jan 28 19:42:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* time/Makefile: Fix check for cross compiling. Sun Jan 28 19:42:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * time/Makefile: Fix check for cross compiling.
Diffstat (limited to 'time')
-rw-r--r--time/Makefile8
1 files changed, 6 insertions, 2 deletions
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