Mercurial > hg > aboriginal
comparison sources/sections/uClibc.build @ 1207:4021fb1183d7
Environment sanitizing screwed up the cross-compiler.sh wrapper. Fix it, rename PROGRAM_PREFIX to TOOLCHAIN_PREFIX, and put a guard around sources/include.sh so it's safe to include multiple times.
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 16 Aug 2010 15:00:35 -0500 |
parents | 2f39d1bfb2fd |
children | 5e22b534839a |
comparison
equal
deleted
inserted
replaced
1206:99c49806ea6d | 1207:4021fb1183d7 |
---|---|
29 if [ ! -z "$HOST_ARCH" ] | 29 if [ ! -z "$HOST_ARCH" ] |
30 then | 30 then |
31 # The uClibc utils/Makefile.in is crazy. There's no way to specify a prefix, | 31 # The uClibc utils/Makefile.in is crazy. There's no way to specify a prefix, |
32 # or to pass in --static via CFLAGS. Just build 'em by hand. | 32 # or to pass in --static via CFLAGS. Just build 'em by hand. |
33 | 33 |
34 "$ARCH-cc" utils/ldd.c -o "$STAGE_DIR/bin/${PROGRAM_PREFIX}ldd" --static \ | 34 "$ARCH-cc" utils/ldd.c -o "$STAGE_DIR/bin/${TOOLCHAIN_PREFIX}ldd" --static \ |
35 -I ldso/include -DBUILDING_LINKAGE && | 35 -I ldso/include -DBUILDING_LINKAGE && |
36 "$ARCH-cc" utils/ldconfig.c utils/chroot_realpath.c \ | 36 "$ARCH-cc" utils/ldconfig.c utils/chroot_realpath.c \ |
37 -o "$STAGE_DIR/bin/${PROGRAM_PREFIX}ldconfig" --static -I ldso/include \ | 37 -o "$STAGE_DIR/bin/${TOOLCHAIN_PREFIX}ldconfig" --static -I ldso/include \ |
38 -DUCLIBC_RUNTIME_PREFIX='"/"' -DBUILDING_LINKAGE || dienow | 38 -DUCLIBC_RUNTIME_PREFIX='"/"' -DBUILDING_LINKAGE || dienow |
39 fi | 39 fi |