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