Strip debug symbols on RA/generic recipe builds

This commit is contained in:
Andrés 2015-06-28 14:59:55 -05:00
parent ff8ef6a1ec
commit 5b80c7095a

View File

@ -226,6 +226,7 @@ build_libretro_generic_makefile() {
echo "$1 running retrolink [$jobid]"
$WORK/retrolink.sh ${NAME}_libretro${FORMAT}${SUFFIX}.${FORMAT_EXT}
fi
strip -s ${NAME}_libretro${FORMAT}${SUFFIX}.${FORMAT_EXT}
cp -v ${NAME}_libretro${FORMAT}${SUFFIX}.${FORMAT_EXT} $RARCH_DIST_DIR/${DIST}/${NAME}_libretro${FORMAT}${SUFFIX}.${FORMAT_EXT} &> /tmp/buildbot.log
else
ERROR=`cat /tmp/buildbot.log | tail -n 500`
@ -1171,6 +1172,7 @@ if [ "${PLATFORM}" = "MINGW64" ] || [ "${PLATFORM}" = "MINGW32" ] && [ "${RA}" =
echo "building..."
echo "build command: $MAKE -j${JOBS}"
$MAKE -j${JOBS} &> /tmp/buildbot.log
strip -s retroarch.exe
if [ $? -eq 0 ]; then
MESSAGE="retroarch build successful [$jobid]"