#!/bin/sh -e
[ -z "$DEBUG" ] || set -x
echo "########## host-gcc-final-12.3.0: build ##########"
cd /home/ych/rk3568/buildroot
PATH="/home/ych/rk3568/buildroot/output/rockchip_rk3568/host/bin:/home/ych/rk3568/buildroot/output/rockchip_rk3568/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PKG_CONFIG="/home/ych/rk3568/buildroot/output/rockchip_rk3568/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/ych/rk3568/buildroot/output/rockchip_rk3568/host/lib/pkgconfig:/home/ych/rk3568/buildroot/output/rockchip_rk3568/host/share/pkgconfig"  /usr/bin/make -j21 gcc_cv_prog_makeinfo_modern=no gcc_cv_libc_provides_ssp=yes -C /home/ych/rk3568/buildroot/output/rockchip_rk3568/build/host-gcc-final-12.3.0/build
cd /home/ych/rk3568/buildroot
/home/ych/rk3568/buildroot/output/rockchip_rk3568/host/bin/ccache /usr/bin/gcc -O2 -I/home/ych/rk3568/buildroot/output/rockchip_rk3568/host/include -DBR_CROSS_PATH_SUFFIX='".br_real"' -DBR_CCACHE_HASH=\"` printf '%s\n'  --target=aarch64-buildroot-linux-gnu --with-sysroot=@HOST_DIR@/aarch64-buildroot-linux-gnu/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --enable-plugins --enable-lto --with-gmp=@HOST_DIR@ --with-mpc=@HOST_DIR@ --with-mpfr=@HOST_DIR@  --with-bugurl="http://bugs.buildroot.net/" --without-zstd --disable-libquadmath --disable-libquadmath-support --enable-tls --enable-threads --without-isl --without-cloog --with-abi="lp64" --with-cpu=cortex-a55 --enable-languages=c,c++ --with-build-time-tools=@HOST_DIR@/aarch64-buildroot-linux-gnu/bin --enable-shared --disable-libgomp  | sha256sum - /home/ych/rk3568/buildroot/dl/gcc/gcc-12.3.0.tar.xz package/gcc/12.3.0/0001-disable-split-stack-for-non-thread-builds.patch package/gcc/12.3.0/0002-or1k-Only-define-TARGET_HAVE_TLS-when-HAVE_AS_TLS.patch | cut -c -64 | tr -d '\n'`\" -DBR_SYSROOT='"aarch64-buildroot-linux-gnu/sysroot"' -DBR_ADDITIONAL_CFLAGS='"-Wl,-z,max-page-size=4096", "-Wl,-z,common-page-size=4096", "-fstack-protector-strong",' -DBR_CCACHE -DBR_CCACHE_BASEDIR='"/home/ych/rk3568/buildroot/output/rockchip_rk3568"' -DBR2_PIC_PIE -DBR2_RELRO_FULL -s -Wl,--hash-style=both toolchain/toolchain-wrapper.c -o /home/ych/rk3568/buildroot/output/rockchip_rk3568/build/host-gcc-final-12.3.0/toolchain-wrapper
