summaryrefslogtreecommitdiffhomepage
path: root/vars/gcc.vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2017-10-25 20:27:43 +0200
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2017-10-25 20:27:43 +0200
commite9e7412fdf98292459bdd09bfc2f6107cb604ea1 (patch)
treed9be49ddf2f52fc5ca59d22427bc94678cbc6c82 /vars/gcc.vars
parent76014e95825ad73a39fda0f84a3f1754e8d8f80f (diff)
downloadmidipix_build-e9e7412fdf98292459bdd09bfc2f6107cb604ea1.tar.bz2
midipix_build-e9e7412fdf98292459bdd09bfc2f6107cb604ea1.tar.xz
vars/build.vars: build mdso_host prior to toolchain and {psxtypes,ldso}_host prior to the runtime components.
vars/build.vars:mdso{,_host}: additionally install mdso to ${TARGET}/bin/mdso. vars/build.vars:ldso_host: additionally install libldso.a to ${PREFIX}/lib/libldso.a. vars/build.vars:ldso: additionally install libldso.a to ${TARGET}/lib/libldso.a. vars/build.vars:python3: pass -mout-dsolib vs. -mout-implib in ${BLDSHARED} (via midipix.) subr/build.subr:install_files(): fix -v flag & only prepend ${_prefix} w/ relative pathnames during {ln,mkdir,cp}. subr/pre_subdirs.subr:pre_subdirs(): mkdir ${PREFIX_TARGET}/bin. vars/gcc.vars:pkgp_gcc_setup_env(): pass -midata in ${GCCTARGET_FLAGS} (via midipix.)
Diffstat (limited to 'vars/gcc.vars')
-rw-r--r--vars/gcc.vars2
1 files changed, 1 insertions, 1 deletions
diff --git a/vars/gcc.vars b/vars/gcc.vars
index 684a64d2..18d27fd5 100644
--- a/vars/gcc.vars
+++ b/vars/gcc.vars
@@ -24,7 +24,7 @@ pkgp_gcc_setup_env() {
export cbb_xgcc_for_specs="${PKG_TARGET}-gcc" \
sysroot_headers_suffix="${PKG_PREFIX}"; ;;
esac;
- GCCTARGET_FLAGS="-DIN_TARGET_LIBRARY_BUILD --sysroot=${PKG_PREFIX}";
+ GCCTARGET_FLAGS="-DIN_TARGET_LIBRARY_BUILD --sysroot=${PKG_PREFIX} -midata";
GCCFLAGS="${CFLAGS:+${CFLAGS} }--include $(readlink -f "${WORKDIR}/cbb-gcc-${1}/libc/cbb-musl-pe.h")";
for __ in CFLAGS CFLAGS_FOR_BUILD CPPFLAGS_FOR_BUILD CXXFLAGS CXXFLAGS_FOR_BUILD; do
export "${__}=${GCCFLAGS}";