Changing default debug & opt flags for qnx Bug #44133 NSPRPUB_CLIENT_BRANCH
authorcls%seawood.org
Sat, 08 Jul 2000 11:21:12 +0000
branchNSPRPUB_CLIENT_BRANCH
changeset 1471 b1de4129cf8aa7c931365ed2eda2a5473de2520c
parent 1470 8024222e1c9d2f4aaef342089e86142ac13ec6cd
child 1472 44324ddfc1c158830edeb489aa004e69eedf46e6
push idunknown
push userunknown
push dateunknown
bugs44133
Changing default debug & opt flags for qnx Bug #44133
configure.in
--- a/configure.in
+++ b/configure.in
@@ -26,17 +26,16 @@ AC_INIT(config/libc_r.h)
 d=`pwd`
 if test "${srcdir}" = "$d" || test "${srcdir}" = "."  ; then
    echo "Do not build in the srcdir as it will override Makefiles used by non-autoconf build."
    exit 1;
 fi
 
 AC_CONFIG_AUX_DIR(${srcdir}/build/autoconf)
 AC_CANONICAL_SYSTEM
-AC_VALIDATE_CACHED_SYSTEM_TUPLE
 AC_PREFIX_DEFAULT(\${MOD_DEPTH}/dist)
 
 dnl Set this define to make fixes w/o breaking anything else.
 AC_DEFINE(USE_AUTOCONF)
 
 dnl ========================================================
 dnl = Defaults
 dnl ========================================================
@@ -638,21 +637,21 @@ case "$target" in
 	    ;;
     esac
     ;;
 
 *-nto*)
     AC_DEFINE(XP_UNIX)
     MDCPUCFG_H=_nto.cfg
     PR_MD_CSRCS=nto.c
-    MKSHLIB='qcc -Vgcc_ntox86 -shared -Wl,-h$(@:$(OBJDIR)/%.so=%.so) -o $(@:$(OBJDIR)/%.so=%.so)'
+    MKSHLIB='qcc -Vgcc_ntox86 -shared -Wl,-h$(@:$(OBJDIR)/%.so=%.so) -M -o $(@:$(OBJDIR)/%.so=%.so)'
     CFLAGS="$CFLAGS -Wc,-Wall -Wc,-Wno-parentheses -DNTO -D_QNX_SOURCE -DHAVE_POINTER_LOCALTIME_R -shared"
     OS_LIBS="-lsocket"
-    _OPTIMIZE_FLAGS="-O2"
-    _DEBUG_FLAGS="-O2 -gdwarf-2"
+    _OPTIMIZE_FLAGS="-O1"
+    _DEBUG_FLAGS="-O1 -gstabs"
     COMPILER_TAG="_qcc"
     CC="qcc -Vgcc_ntox86 -w"
     CXX="QCC -Vgcc_ntox86 -w"
     CPP="qcc -Vgcc_ntox86 -w"
     LD="qcc -Vgcc_ntox86 -nostdlib"
     AR="qcc -Vgcc_ntox86 -M -a "
     AR_FLAGS="$@"
 	;;