aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2017-11-30 15:22:46 -0800
committerPaul Eggert2017-11-30 15:32:37 -0800
commit93dc7ae4a419e444e1a0daa4686552fdab7f3357 (patch)
tree442941d0a13b2e33565198a11bee1993b962355f
parentad99550610542f8333dc964b3bef2b9e6ad7b0f6 (diff)
downloademacs-93dc7ae4a419e444e1a0daa4686552fdab7f3357.tar.gz
emacs-93dc7ae4a419e444e1a0daa4686552fdab7f3357.zip
Port better to QNX
Problem reported by Elad Lahav on emacs-devel. * configure.ac: On QNX, default CC to qcc (a GCC wrapper), and default LDFLAGS to -N2MB so that the initial stack size is not too small. Also, fix misspelling of ‘qnxnto’.
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f1ca7cc81b7..2df5679f1d5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -702,7 +702,9 @@ case "${canonical}" in
702 ## QNX Neutrino 702 ## QNX Neutrino
703 *-nto-qnx* ) 703 *-nto-qnx* )
704 opsys=qnxnto 704 opsys=qnxnto
705 test -z "$CC" && CC=qcc
705 CFLAGS="$CFLAGS -D__NO_EXT_QNX" 706 CFLAGS="$CFLAGS -D__NO_EXT_QNX"
707 LDFLAGS="-N2MB $LDFLAGS"
706 ;; 708 ;;
707 709
708 ## Intel 386 machines where we don't care about the manufacturer. 710 ## Intel 386 machines where we don't care about the manufacturer.
@@ -2218,7 +2220,7 @@ test "$CANNOT_DUMP" = yes ||
2218case "$opsys" in 2220case "$opsys" in
2219 ## darwin ld insists on the use of malloc routines in the System framework. 2221 ## darwin ld insists on the use of malloc routines in the System framework.
2220 darwin | mingw32 | nacl | sol2-10) ;; 2222 darwin | mingw32 | nacl | sol2-10) ;;
2221 cygwin | qnxto | freebsd) 2223 cygwin | qnxnto | freebsd)
2222 hybrid_malloc=yes 2224 hybrid_malloc=yes
2223 system_malloc= ;; 2225 system_malloc= ;;
2224 *) test "$ac_cv_func_sbrk" = yes && system_malloc=$emacs_cv_sanitize_address;; 2226 *) test "$ac_cv_func_sbrk" = yes && system_malloc=$emacs_cv_sanitize_address;;