source: scripts/host-scripts/host-patch.sh@ 873009c

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 873009c 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: 652 bytes
Line 
1#!/bin/bash
2
3### PATCH ###
4
5cd ${SRC}
6LOG=patch-buildhost.log
7
8unpack_tarball patch-${PATCH_VER}
9cd ${PKGDIR}
10
11max_log_init Patch ${PATCH_VER} "buildhost (shared)" ${CONFLOGS} ${LOG}
12
13# TODO: Probably should do a check to see if we need GNU_SOURCE
14# on the OS we are running the script from...
15
16#CPPFLAGS=-D_GNU_SOURCE \
17CC="${CC-gcc}" CFLAGS="-O2 -pipe" ./configure --prefix=${HST_TOOLS} \
18 >> ${LOGFILE} 2>&1 &&
19echo " o Configure OK" &&
20
21min_log_init ${BUILDLOGS} &&
22make ${PMFLAGS} LDFLAGS="-s" \
23 >> ${LOGFILE} 2>&1 &&
24echo " o Build OK" &&
25
26min_log_init ${INSTLOGS} &&
27make install \
28 >> ${LOGFILE} 2>&1 &&
29echo " o ALL OK" || barf
30
Note: See TracBrowser for help on using the repository browser.