summaryrefslogtreecommitdiff
path: root/chunks/eglibc.morph
blob: 7df39c8592e25edf901fbe263e1b3d5e34ee1ebb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: eglibc
kind: chunk
repo: upstream:eglibc2
ref: e57ce33023d37183847a0c2f692645887691576a
unpetrify-ref: baserock/2.15-build-essential
configure-commands:
- mkdir o
- cd libc && ln -s ../ports ports
- |
  export CFLAGS="-O2 $CFLAGS"; cd o &&
  ../libc/configure \
    $(../morph-arch-config) \
    --prefix="$PREFIX" \
    --disable-profile \
    --enable-kernel=2.6.25 \
    --enable-add-ons=nptl,ports \
    --without-cvs \
    --without-selinux
build-commands:
- cd o && make localtime=UTC
install-commands:
- cd o && make install_root="$DESTDIR" localtime=UTC install
- mkdir -p "$DESTDIR/etc"
- install -m 644 -o root -g root nsswitch.conf "$DESTDIR/etc/nsswitch.conf"