summaryrefslogtreecommitdiffstats
path: root/buildfox
blob: 366ccbe78c5d37c20d43733e9784d662a3a51106 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/zsh

unset CFLAGS CXXFLAGS LDFLAGS CC CXX
dest="/home/raghavendra/Arch/firefox"
cd $dest
buildir=$dest
export LDFLAGS=" -Wl,-rpath,$dest/usr/lib/firefox-hg -Wl,--hash-style=gnu "
cd  /media/Yak/Repo/mozilla-central
hg pull -u
cp $buildir/mozconfig .mozconfig

#patch -Np1 -i "$buildir/mozilla-firefox-1.0-lang.patch"
#patch -Np1 -i "$buildir/linux3.patch"
#patch -Np1 -i "$buildir/libstdc++.patch"

#patch -Np1 -i "$buildir/flash-78414-3.patch" || exit 1


autoconf-2.13


make -j8 -f client.mk build
make -j8 -f client.mk DESTDIR="$dest" install