diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-02-07 16:34:58 +0100 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-02-07 16:34:58 +0100 |
commit | 96b3097e548d741fe34bc2b54b5f59c725c06cec (patch) | |
tree | b52ebabf5dfdd62c0c4b1e88bed4b3f3566de179 /007.gcc.full.build | |
parent | 680d83f768298ed0fcabd553f5d48ee8facf203b (diff) | |
download | midipix_build-96b3097e548d741fe34bc2b54b5f59c725c06cec.tar.bz2 midipix_build-96b3097e548d741fe34bc2b54b5f59c725c06cec.tar.xz |
- Ensure global variable names are consistently capitalised and that
no values are inherited when and wherever they should not be.
- Remove pointless CFLAGS export in 007.gcc.full.build when doing a
runtime or full build.
Diffstat (limited to '007.gcc.full.build')
-rw-r--r-- | 007.gcc.full.build | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/007.gcc.full.build b/007.gcc.full.build index 999dd8bc..8935644e 100644 --- a/007.gcc.full.build +++ b/007.gcc.full.build @@ -4,9 +4,8 @@ if is_build_script_done finished; then exit 212; elif [ "x${3}" = "xruntime" ]\ || [ "x${3}" = "xfull" ]; then - export CFLAGS="${GCCFLAGS}" CXXFLAGS="${GCCFLAGS}"; set_build_dir cbb-gcc-${PKG_GCC_VERSION} cross; - cd ${_build_dir}; + cd ${BUILD_DIR}; if [ "x${3}" = "xruntime" ]; then # GCC, compiler runtime. if ! is_build_script_done built; then @@ -44,7 +43,7 @@ else cbb_sysroot_for_libgcc=${PREFIX_TARGET} \ cbb_target=${TARGET} \ cbb_neutral_libiberty=no \ - cbb_xgcc_for_specs=${WORKDIR}/${_build_dir}/gcc/xgcc; + cbb_xgcc_for_specs=${WORKDIR}/${BUILD_DIR}/gcc/xgcc; GCCTARGET_FLAGS="-DIN_TARGET_LIBRARY_BUILD --sysroot=${PREFIX_TARGET}"; elif [ "x${3}" = "xnative" ]; then # GCC, native. @@ -80,7 +79,7 @@ else --with-mpfr=${PREFIX_NATIVE} \ --with-sysroot="; fi; - rm_if_exists -m -c ${_build_dir}; + rm_if_exists -m -c ${BUILD_DIR}; ../cbb-gcc-${PKG_GCC_VERSION}/configure \ --disable-bootstrap \ --disable-libmudflap \ @@ -107,7 +106,7 @@ else ${_configure_args}; set_build_script_done configured -built; else - cd ${_build_dir}; + cd ${BUILD_DIR}; fi; if ! is_build_script_done built; then if [ "x${3}" = "xstage1" ]; then |