source: scripts/target-scripts/host-nasm.sh@ 60454e2

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 60454e2 was 617118d, checked in by Jim Gifford <clfs@…>, 19 years ago

r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure

  • Property mode set to 100755
File size: 927 bytes
Line 
1#!/bin/bash
2
3# cross-lfs build-host nasm build
4# -------------------------------
5# $LastChangedBy$
6# $LastChangedDate$
7# $LastChangedRevision$
8# $HeadURL$
9#
10
11cd ${SRC}
12LOG="nasm-host.log"
13
14unpack_tarball nasm-${NASM_VER} &&
15cd ${SRC}/${PKGDIR}
16
17# build nasm, bin86 and lilo 32 bit
18#case ${TGT_ARCH} in
19# x86_64 ) ARCH_CFLAGS="-m32" ;;
20#esac
21
22mkdir -p ${HST_TOOLS}/share/man/man1
23
24max_log_init nasm ${NASM_VER} host ${CONFLOGS} ${LOG}
25CFLAGS="-O2 -pipe" \
26./configure --prefix=${HST_TOOLS} \
27 --libexecdir=${HST_TOOLS}/lib/nasm \
28 --mandir=${HST_TOOLS}/share/man \
29 >> ${LOGFILE} 2>&1 &&
30echo " o Configure OK" &&
31
32min_log_init ${BUILDLOGS} &&
33# should use "make everything" to generate docs, but we won't
34# have ps2pdf yet
35make LDFLAGS="-s" \
36 >> ${LOGFILE} 2>&1 &&
37echo " o Build OK" &&
38
39min_log_init ${INSTLOGS} &&
40make install \
41 >> ${LOGFILE} &&
42make install_rdf \
43 >> ${LOGFILE} &&
44echo " o ALL OK" || barf
45
Note: See TracBrowser for help on using the repository browser.