From d26f764e7dd4ff0246901868fb23b4b2b925d5dd Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 15 Mar 2016 15:37:27 +0100 Subject: sync + build fix --- scripts/sync_buildenv.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'scripts/sync_buildenv.sh') diff --git a/scripts/sync_buildenv.sh b/scripts/sync_buildenv.sh index fa55279..9f24348 100755 --- a/scripts/sync_buildenv.sh +++ b/scripts/sync_buildenv.sh @@ -31,6 +31,12 @@ echo -n "pvr.dvbviewer https://github.com/manuelm/pvr.dvbviewer $branch" > proje echo -n "all" > project/cmake/addons/addons/pvr.dvbviewer/platforms.txt git add project/cmake/addons/addons/ -# fix build bug +# fix build bugs +for f in project/cmake/scripts/windows/c-flag-overrides.cmake project/cmake/scripts/windows/cxx-flag-overrides.cmake +do + sed -i -re 's#CMAKE_C(XX)?_FLAGS(_(DEBUG|RELEASE))? #CMAKE_C\1_FLAGS\2_INIT #' $f + git add $f +done + sed -i -e 's#${LIBRARY_DIR}/${target}.pdb#$#' project/cmake/scripts/common/addon-helpers.cmake git add project/cmake/scripts/common/addon-helpers.cmake -- cgit v1.2.3