diff options
author | Jason Wray <jason@mapbox.com> | 2016-09-30 04:43:58 -0400 |
---|---|---|
committer | Jason Wray <friedbunny@users.noreply.github.com> | 2016-09-30 18:49:05 -0400 |
commit | 161955209d87599771c0e822d655dd06d1fab069 (patch) | |
tree | 636f0bffc6920252954b7d37508e42781a29e03d /platform/macos | |
parent | 9a92a3a5dd48f12e6324d64844fdc076391e2bae (diff) | |
download | qtlocation-mapboxgl-161955209d87599771c0e822d655dd06d1fab069.tar.gz |
[macos][build] Generate debug symbols for all builds
Diffstat (limited to 'platform/macos')
-rwxr-xr-x | platform/macos/scripts/package.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/platform/macos/scripts/package.sh b/platform/macos/scripts/package.sh index 603ecd179c..b777d22be8 100755 --- a/platform/macos/scripts/package.sh +++ b/platform/macos/scripts/package.sh @@ -10,7 +10,7 @@ DERIVED_DATA=build/macos PRODUCTS=${DERIVED_DATA} BUILDTYPE=${BUILDTYPE:-Release} -GCC_GENERATE_DEBUGGING_SYMBOLS=${SYMBOLS:-YES} +SYMBOLS=${SYMBOLS:-YES} function step { >&2 echo -e "\033[1m\033[36m* $@\033[0m"; } function finish { >&2 echo -en "\033[0m"; } @@ -25,7 +25,6 @@ SHORT_VERSION=${SEM_VERSION%-*} step "Building targets (build ${PROJ_VERSION}, version ${SEM_VERSION})…" xcodebuild \ - GCC_GENERATE_DEBUGGING_SYMBOLS=${GCC_GENERATE_DEBUGGING_SYMBOLS} \ CURRENT_PROJECT_VERSION=${PROJ_VERSION} \ CURRENT_SHORT_VERSION=${SHORT_VERSION} \ CURRENT_SEMANTIC_VERSION=${SEM_VERSION} \ @@ -43,7 +42,7 @@ if [[ -e ${PRODUCTS}/${BUILDTYPE}/${NAME}.framework.dSYM ]]; then cp -r ${PRODUCTS}/${BUILDTYPE}/${NAME}.framework.dSYM "${OUTPUT}" fi -if [[ "${GCC_GENERATE_DEBUGGING_SYMBOLS}" == false ]]; then +if [[ ${SYMBOLS} = NO ]]; then step "Stripping binaries…" strip -Sx "${OUTPUT}/${NAME}.framework/${NAME}" fi |