From 429ed67ba10dccfa6472bf803473fd20c0203309 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 29 Jan 1996 16:11:27 +0000 Subject: 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. --- time/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'time') 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 -- cgit v1.2.3