###############################################################################
objects = $(DL_FILE) \
- #$(THISAPP)-arc4random-1.patch \
- #$(THISAPP)-rng.patch
+ $(THISAPP)-rng.patch \
+ #$(THISAPP)-arc4random-1.patch
download: $(objects)
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
-ifeq "$(STAGE)" "toolchain"
# This patch modifies Bash to use /dev/urandom (settable with
# --with-randomdev=) for $RANDOM, instead of getpid() and gettimeofday().
# The test is "( echo $RANDOM; ( echo $RANDOM ); ( echo $RANDOM ) )":
- #cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-rng.patch
+ cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-rng.patch
# Bash uses the RTLD_LAZY option when loading libraries. We want to use
# RTLD_NOW (it is defined from <dlfcn.h>:
cd $(DIR_APP) && sed -e "s/filename, RTLD_LAZY/filename, RTLD_NOW/" \
-i builtins/enable.def
+ifeq "$(STAGE)" "toolchain"
cd $(DIR_APP) && \
ac_cv_func_working_mktime=yes \
./configure \