Mercurial > hg > aboriginal
annotate sources/sections/distcc.build @ 1719:78050a31d1ee draft
Sigh. Checked in the wrong version of the patch (typo fix).
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 06 Jan 2015 13:15:33 -0600 |
parents | 5c9d74b49fb5 |
children | acaa88463c0c |
rev | line source |
---|---|
1034
27c38c82401d
Move make, bash, and distcc builds into native-compiler.sh. (Break 'em out into sources/sections/*.build.)
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
1 rsync_cv_HAVE_C99_VSNPRINTF=yes \ |
27c38c82401d
Move make, bash, and distcc builds into native-compiler.sh. (Break 'em out into sources/sections/*.build.)
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
2 LDFLAGS="$STATIC_FLAGS $LDFLAGS" CC="${ARCH}-cc" ./configure \ |
1131
5c9d74b49fb5
Install distcc binaries in the distcc subdirectory, not in /bin.
Rob Landley <rob@landley.net>
parents:
1130
diff
changeset
|
3 --host="${CROSS_TARGET}" --prefix="$STAGE_DIR" --bindir="$STAGE_DIR/distcc" \ |
1034
27c38c82401d
Move make, bash, and distcc builds into native-compiler.sh. (Break 'em out into sources/sections/*.build.)
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
4 --with-included-popt --disable-Werror && |
27c38c82401d
Move make, bash, and distcc builds into native-compiler.sh. (Break 'em out into sources/sections/*.build.)
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
5 make -j $CPUS && |
27c38c82401d
Move make, bash, and distcc builds into native-compiler.sh. (Break 'em out into sources/sections/*.build.)
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
6 make -j $CPUS install && |
27c38c82401d
Move make, bash, and distcc builds into native-compiler.sh. (Break 'em out into sources/sections/*.build.)
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
7 mkdir -p "$STAGE_DIR/distcc" || dienow |
27c38c82401d
Move make, bash, and distcc builds into native-compiler.sh. (Break 'em out into sources/sections/*.build.)
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
8 |
1130
c222ae88733a
Add NO_CPLUSPLUS config option, to skip c++ support entirely.
Rob Landley <rob@landley.net>
parents:
1034
diff
changeset
|
9 TEMP="" |
c222ae88733a
Add NO_CPLUSPLUS config option, to skip c++ support entirely.
Rob Landley <rob@landley.net>
parents:
1034
diff
changeset
|
10 [ -z "$NO_CPLUSPLUS" ] && TEMP="g++ c++" |
c222ae88733a
Add NO_CPLUSPLUS config option, to skip c++ support entirely.
Rob Landley <rob@landley.net>
parents:
1034
diff
changeset
|
11 for i in gcc cc $TEMP |
1034
27c38c82401d
Move make, bash, and distcc builds into native-compiler.sh. (Break 'em out into sources/sections/*.build.)
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
12 do |
1131
5c9d74b49fb5
Install distcc binaries in the distcc subdirectory, not in /bin.
Rob Landley <rob@landley.net>
parents:
1130
diff
changeset
|
13 ln -s distcc "$STAGE_DIR/distcc/$i" || dienow |
1034
27c38c82401d
Move make, bash, and distcc builds into native-compiler.sh. (Break 'em out into sources/sections/*.build.)
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
14 done |