summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-02-11 21:35:07 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-02-11 21:35:07 +0000
commit55f73e8955224fd6b059b98d730eddf69ac1858b (patch)
treeb2a0697334a3f26b9380a815b52d06838a6b41e5
parent9225a6636994b4edfb671bf12dd70480d0e4b013 (diff)
downloadmidipix_build-55f73e8955224fd6b059b98d730eddf69ac1858b.tar.bz2
midipix_build-55f73e8955224fd6b059b98d730eddf69ac1858b.tar.xz
vars/gcc.vars:pkg_gcc_stage1_all(): create ${PREFIX_CROSS}/usr{,/include} when building gcc_stage1_host.
-rw-r--r--vars/gcc.vars2
1 files changed, 2 insertions, 0 deletions
diff --git a/vars/gcc.vars b/vars/gcc.vars
index 8939c957..67bcdb85 100644
--- a/vars/gcc.vars
+++ b/vars/gcc.vars
@@ -114,6 +114,8 @@ pkg_gcc_stage1_all() {
local __="" _restart_at="${1}";
case "${PKG_NAME}" in
gcc_stage1_host)
+ ex_rtl_fileop ln_symbolic . "${PREFIX_CROSS}/usr";
+ ex_rtl_fileop mkdir "${PREFIX_CROSS}/usr/include";
pkgp_gcc_build_dir "cbb-gcc-${PKG_VERSION}" cross;
;;
gcc_stage1_cross_mingw32)