diff options
| author | Phillip Lord | 2019-04-25 15:26:26 +0100 |
|---|---|---|
| committer | Phillip Lord | 2019-06-05 22:15:21 +0100 |
| commit | 9201cf62ce9f17793bb6103050c9ba27eb942e57 (patch) | |
| tree | 79ec212e1ca84185792163487e877edf87bad82b /admin | |
| parent | ec264e71264c1e35266917f4568ae8572ec8570b (diff) | |
| download | emacs-9201cf62ce9f17793bb6103050c9ba27eb942e57.tar.gz emacs-9201cf62ce9f17793bb6103050c9ba27eb942e57.zip | |
No longer add debug symbols to release build
* admin/nt/dist-build/build-zips.sh: Remove -g3 from release build and
install with install-strip
Diffstat (limited to 'admin')
| -rwxr-xr-x | admin/nt/dist-build/build-zips.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/admin/nt/dist-build/build-zips.sh b/admin/nt/dist-build/build-zips.sh index 4404c779629..cff6fdec3e0 100755 --- a/admin/nt/dist-build/build-zips.sh +++ b/admin/nt/dist-build/build-zips.sh | |||
| @@ -58,10 +58,10 @@ function build_zip { | |||
| 58 | --without-dbus \ | 58 | --without-dbus \ |
| 59 | --host=$HOST --without-compress-install \ | 59 | --host=$HOST --without-compress-install \ |
| 60 | $CACHE \ | 60 | $CACHE \ |
| 61 | CFLAGS="-O2 -static -g3" | 61 | CFLAGS="$CFLAGS" |
| 62 | fi | 62 | fi |
| 63 | 63 | ||
| 64 | make -j 2 install \ | 64 | make -j 4 $INSTALL_TARGET \ |
| 65 | prefix=$HOME/emacs-build/install/emacs-$VERSION/$ARCH | 65 | prefix=$HOME/emacs-build/install/emacs-$VERSION/$ARCH |
| 66 | cd $HOME/emacs-build/install/emacs-$VERSION/$ARCH | 66 | cd $HOME/emacs-build/install/emacs-$VERSION/$ARCH |
| 67 | cp $HOME/emacs-build/deps/libXpm/$ARCH/libXpm-noX4.dll bin | 67 | cp $HOME/emacs-build/deps/libXpm/$ARCH/libXpm-noX4.dll bin |
| @@ -107,6 +107,8 @@ BUILD_32=1 | |||
| 107 | BUILD_64=1 | 107 | BUILD_64=1 |
| 108 | GIT_UP=0 | 108 | GIT_UP=0 |
| 109 | CONFIG=1 | 109 | CONFIG=1 |
| 110 | CFLAGS="-O2 -static" | ||
| 111 | INSTALL_TARGET="install-strip" | ||
| 110 | 112 | ||
| 111 | while getopts "36gb:hnsiV:" opt; do | 113 | while getopts "36gb:hnsiV:" opt; do |
| 112 | case $opt in | 114 | case $opt in |
| @@ -141,6 +143,8 @@ while getopts "36gb:hnsiV:" opt; do | |||
| 141 | ;; | 143 | ;; |
| 142 | s) | 144 | s) |
| 143 | SNAPSHOT="-snapshot" | 145 | SNAPSHOT="-snapshot" |
| 146 | CFLAGS="-O2 -static -g3" | ||
| 147 | INSTALL_TARGET="install" | ||
| 144 | ;; | 148 | ;; |
| 145 | h) | 149 | h) |
| 146 | echo "build-zips.sh" | 150 | echo "build-zips.sh" |
| @@ -200,6 +204,8 @@ else | |||
| 200 | OF_VERSION="$VERSION-`date +%Y-%m-%d`" | 204 | OF_VERSION="$VERSION-`date +%Y-%m-%d`" |
| 201 | ## Use snapshot dependencies | 205 | ## Use snapshot dependencies |
| 202 | SNAPSHOT=1 | 206 | SNAPSHOT=1 |
| 207 | CFLAGS="-O2 -static -g3" | ||
| 208 | INSTALL_TARGET="install" | ||
| 203 | fi | 209 | fi |
| 204 | 210 | ||
| 205 | if (($GIT_UP)) | 211 | if (($GIT_UP)) |