Revision 1625af87 configure

b/configure
154 154
esac
155 155
gprof="no"
156 156
sparse="no"
157
strip_opt="yes"
157 158
bigendian="no"
158 159
mingw32="no"
159 160
EXESUF=""
......
396 397
  ;;
397 398
  --disable-sparse) sparse="no"
398 399
  ;;
400
  --disable-strip) strip_opt="no"
401
  ;;
399 402
  --disable-vnc-tls) vnc_tls="no"
400 403
  ;;
401 404
  --disable-vnc-sasl) vnc_sasl="no"
......
556 559
echo "  --static                 enable static build [$static]"
557 560
echo "  --enable-sparse          enable sparse checker"
558 561
echo "  --disable-sparse         disable sparse checker (default)"
562
echo "  --disable-strip          disable stripping binaries"
559 563
echo "  --disable-werror         disable compilation abort on warning"
560 564
echo "  --disable-sdl            disable SDL"
561 565
echo "  --enable-cocoa           enable COCOA (Mac OS X only)"
......
1177 1181
echo "target list       $target_list"
1178 1182
echo "gprof enabled     $gprof"
1179 1183
echo "sparse enabled    $sparse"
1184
echo "strip binaries    $strip_opt"
1180 1185
echo "profiler          $profiler"
1181 1186
echo "static build      $static"
1182 1187
echo "-Werror enabled   $werror"
......
1251 1256
echo "CC=$cc" >> $config_mak
1252 1257
echo "HOST_CC=$host_cc" >> $config_mak
1253 1258
echo "AR=$ar" >> $config_mak
1254
echo "STRIP=$strip -s -R .comment -R .note" >> $config_mak
1255 1259
# XXX: only use CFLAGS and LDFLAGS ?  
1256 1260
# XXX: should export HOST_CFLAGS and HOST_LDFLAGS for cross
1257 1261
# compilation of dyngen tool (useful for win32 build on Linux host)
......
1338 1342
  echo "HOST_CC := REAL_CC=\"\$(HOST_CC)\" cgcc"  >> $config_mak
1339 1343
  echo "CFLAGS  += -Wbitwise -Wno-transparent-union -Wno-old-initializer -Wno-non-pointer-null" >> $config_mak
1340 1344
fi
1345
if test "$strip_opt" = "yes" ; then
1346
  echo "STRIP_OPT=-s" >> $config_mak
1347
fi
1341 1348
if test "$bigendian" = "yes" ; then
1342 1349
  echo "WORDS_BIGENDIAN=yes" >> $config_mak
1343 1350
  echo "#define WORDS_BIGENDIAN 1" >> $config_h

Also available in: Unified diff