From 429ed67ba10dccfa6472bf803473fd20c0203309 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 29 Jan 1996 16:11:27 +0000 Subject: [PATCH] Sun Jan 28 19:42:04 1996 Andreas Schwab * time/Makefile: Fix check for cross compiling. Sun Jan 28 19:42:04 1996 Andreas Schwab * time/Makefile: Fix check for cross compiling. --- ChangeLog | 4 ++++ time/Makefile | 8 ++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d0a8531..024d40e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun Jan 28 19:42:04 1996 Andreas Schwab + + * time/Makefile: Fix check for cross compiling. + Thu Jan 25 21:10:39 1996 Andreas Schwab * db/Makefile (subdir-dirs): Renamed from dbdirs. diff --git a/time/Makefile b/time/Makefile index 19af2df..b0d671a 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 -- 2.7.4