summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/sync_buildenv.sh8
1 files changed, 7 insertions, 1 deletions
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
31echo -n "all" > project/cmake/addons/addons/pvr.dvbviewer/platforms.txt 31echo -n "all" > project/cmake/addons/addons/pvr.dvbviewer/platforms.txt
32git add project/cmake/addons/addons/ 32git add project/cmake/addons/addons/
33 33
34# fix build bug 34# fix build bugs
35for f in project/cmake/scripts/windows/c-flag-overrides.cmake project/cmake/scripts/windows/cxx-flag-overrides.cmake
36do
37 sed -i -re 's#CMAKE_C(XX)?_FLAGS(_(DEBUG|RELEASE))? #CMAKE_C\1_FLAGS\2_INIT #' $f
38 git add $f
39done
40
35sed -i -e 's#${LIBRARY_DIR}/${target}.pdb#$<TARGET_PDB_FILE_NAME:${target}>#' project/cmake/scripts/common/addon-helpers.cmake 41sed -i -e 's#${LIBRARY_DIR}/${target}.pdb#$<TARGET_PDB_FILE_NAME:${target}>#' project/cmake/scripts/common/addon-helpers.cmake
36git add project/cmake/scripts/common/addon-helpers.cmake 42git add project/cmake/scripts/common/addon-helpers.cmake