]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Fixed a gcc error in check of mktemp.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 22 Oct 2008 10:04:44 +0000 (12:04 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 22 Oct 2008 10:04:44 +0000 (12:04 +0200)
lfs/bash
lfs/gawk

index 8ca118730245c98f2d71033bdcc63c3355d164a4..13be1b45eb231dc99067a8db73b40c46198a5f8b 100644 (file)
--- a/lfs/bash
+++ b/lfs/bash
@@ -58,10 +58,12 @@ $(TARGET) :
        cd $(DIR_APP) && patch -Np1 < $(DIR_PATCHES)/$(THISAPP)-fixes-8.patch
 
 ifeq "$(STAGE)" "toolchain" 
-       cd $(DIR_APP) && ./configure \
-               --prefix=$(TOOLS_DIR) \
-               --without-bash-malloc \
-               --with-curses
+       cd $(DIR_APP) && \
+               ac_cv_func_working_mktime=yes \
+               ./configure \
+                       --prefix=$(TOOLS_DIR) \
+                       --without-bash-malloc \
+                       --with-curses
        cd $(DIR_APP) && make #$(PARALLELISMFLAGS)
        cd $(DIR_APP) && make install
        ln -sf bash $(TOOLS_DIR)/bin/sh
@@ -79,8 +81,13 @@ ifeq "$(STAGE)" "base"
        cd $(DIR_APP) && sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/$(THISAPP)|" \
                Makefile.in
        cd $(DIR_APP) && patch -Np1 < $(DIR_PATCHES)/$(THISAPP)-arc4random-1.patch
-       cd $(DIR_APP) && ./configure --prefix=/usr --bindir=/bin \
-               --without-bash-malloc --with-installed-readline
+       cd $(DIR_APP) && \
+               ac_cv_func_working_mktime=yes \
+               ./configure \
+                       --prefix=/usr \
+                       --bindir=/bin \
+                       --without-bash-malloc \
+                       --with-installed-readline
        cd $(DIR_APP) && make #$(PARALLELISMFLAGS)
        cd $(DIR_APP) && make install
 endif
index 9c2ca7b4afc888f3059f4037973ae5cf0f721c78..e506a7bf0c50ab4f37798ebedf7a130ced1e0b59 100644 (file)
--- a/lfs/gawk
+++ b/lfs/gawk
@@ -55,7 +55,10 @@ $(TARGET) :
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
 
 ifeq "$(STAGE)" "toolchain"
-       cd $(DIR_APP) && ./configure --prefix=$(TOOLS_DIR)
+       cd $(DIR_APP) && \
+               ac_cv_func_working_mktime=yes \
+               ./configure \
+               --prefix=$(TOOLS_DIR)
        cd $(DIR_APP) && echo "#define HAVE_LANGINFO_CODESET 1" >> config.h
        cd $(DIR_APP) && echo "#define HAVE_LC_MESSAGES 1"                      >> config.h
        cd $(DIR_APP) && make $(PARALLELISMFLAGS)
@@ -63,7 +66,11 @@ ifeq "$(STAGE)" "toolchain"
 endif
 
 ifeq "$(STAGE)" "base"
-       cd $(DIR_APP) && ./configure --prefix=/usr --libexecdir=/usr/lib
+       cd $(DIR_APP) && \
+               ac_cv_func_working_mktime=yes \
+               ./configure \
+                       --prefix=/usr \
+                       --libexecdir=/usr/lib
        cd $(DIR_APP) && echo "#define HAVE_LANGINFO_CODESET 1" >> config.h
        cd $(DIR_APP) && echo "#define HAVE_LC_MESSAGES 1"                      >> config.h
        cd $(DIR_APP) && make $(PARALLELISMFLAGS)