Details on this package are located in Section 10.56.2, “Contents of Mktemp.”
The Mktemp package contains programs used to create secure temporary files in shell scripts.
The configure files in this package do not recognise all of the
machines supported by CLFS. This patch updates config.guess
and config.sub
for other processors:
patch -Np1 -i ../mktemp-1.5-config_update-1.patch
Mktemp will try to pass the -s
switch
to install to strip
the binaries. This will not work when cross compiling, so run the
following commands to remove this:
cp -v Makefile.in{,.orig} sed 's/\(0555 \)-s /\1/' Makefile.in.orig >Makefile.in
Prepare Mktemp for compilation:
CC="${CC} ${BUILD64}" ./configure --prefix=/tools --with-libc\ --build=${CLFS_HOST} --host=${CLFS_TARGET}
Compile the package:
make
Install the package:
make install
Details on this package are located in Section 10.56.2, “Contents of Mktemp.”