Check-in [c2cecc4043]
Overview
Comment:Updated to ensure glibc directory is available
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | packages
Files: files | file ages | folders
SHA1: c2cecc404308b8b0202e4099aefd3c311bc99af0
User & Date: rkeene on 2014-11-04 01:01:43
Other Links: branch diff | manifest | tags
Context
2014-11-04
03:36
Added binutils package check-in: ae6503b810 user: rkeene tags: packages
01:01
Updated to ensure glibc directory is available check-in: c2cecc4043 user: rkeene tags: packages
00:46
Updated to use UTC timezone everywhere check-in: b5ddc3b45b user: rkeene tags: packages
Changes

Modified build from [84b7ccd5bb] to [d401f36a65].

1
2

3
4
5
6
7
8
9
#! /usr/bin/env bash


TZ=UTC
export TZ

targetmode='install'
if [ "$1" == '--cpio' ]; then
	targetmode='archive'



>







1
2
3
4
5
6
7
8
9
10
#! /usr/bin/env bash

# Set timezone to default
TZ=UTC
export TZ

targetmode='install'
if [ "$1" == '--cpio' ]; then
	targetmode='archive'

47
48
49
50
51
52
53




54
55
56
57
58
59
60
	:
}

function configure() {
	glibcvers=2.20
	glibcdir="/opt/appfs/core.appfs.rkeene.org/glibc/platform/${glibcvers}"
	dynlinker="$(ls "${glibcdir}"/lib/ld-linux*.so.* | tail -n 1)"





	CFLAGS="-I${glibcdir}/include"
	CPPFLAGS="-I${glibcdir}/include"
	LDFLAGS="-Wl,--rpath,${glibcdir}/lib -Wl,--dynamic-linker,${dynlinker}"
	export CFLAGS CPPFLAGS LDFLAGS

	./configure --prefix="${prefix}" --sysconfdir=/etc --localstatedir=/var







>
>
>
>







48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
	:
}

function configure() {
	glibcvers=2.20
	glibcdir="/opt/appfs/core.appfs.rkeene.org/glibc/platform/${glibcvers}"
	dynlinker="$(ls "${glibcdir}"/lib/ld-linux*.so.* | tail -n 1)"

	if [ ! -d "${glibcdir}" ]; then
		die 'glibc directory is not available (appfs running/working?)'
	fi

	CFLAGS="-I${glibcdir}/include"
	CPPFLAGS="-I${glibcdir}/include"
	LDFLAGS="-Wl,--rpath,${glibcdir}/lib -Wl,--dynamic-linker,${dynlinker}"
	export CFLAGS CPPFLAGS LDFLAGS

	./configure --prefix="${prefix}" --sysconfdir=/etc --localstatedir=/var