X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fcoreutils;h=2c282b194b9f60ce26720b41098868b8d2da8678;hp=324dc780892b49330afa7a9856f89cebfe9c4dcf;hb=c95ba2bbcc0b6c0b037f058a4395027f93dc093a;hpb=e1fb40529c3b843ba97868c0928c23db715f9db9 diff --git a/lfs/coreutils b/lfs/coreutils index 324dc78089..2c282b194b 100644 --- a/lfs/coreutils +++ b/lfs/coreutils @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2017 IPFire Team # +# Copyright (C) 2007-2018 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,24 +24,23 @@ include Config -VER = 8.27 +VER = 8.30 THISAPP = coreutils-$(VER) DL_FILE = $(THISAPP).tar.xz DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) -# Normal build or /tools build. +# Normal build or $(TOOLS_DIR) build. # ifeq "$(ROOT)" "" TARGET = $(DIR_INFO)/$(THISAPP) - CONFIGURE_OPTIONS = --prefix=/usr else TARGET = $(DIR_INFO)/$(THISAPP)-tools - CONFIGURE_OPTIONS = --prefix=/tools endif CONFIGURE_OPTIONS += \ + --prefix=$(PREFIX) \ --enable-largefile \ --disable-rpath \ --enable-install-program=arch \ @@ -51,6 +50,11 @@ CONFIGURE_OPTIONS += \ CFLAGS += -fno-strict-aliasing +# Build with 32 bit time_t on 32 bit architectures +ifeq "$(IS_32BIT)" "1" + export TIME_T_32_BIT_OK=yes +endif + ############################################################################### # Top-level Rules ############################################################################### @@ -59,7 +63,7 @@ objects =$(DL_FILE) $(DL_FILE)= $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 502795792c212932365e077946d353ae +$(DL_FILE)_MD5 = ab06d68949758971fe744db66b572816 install : $(TARGET)