]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix QNX build
authorElad Lahav <elahav@qnx.com>
Thu, 10 Sep 2020 22:01:06 +0000 (00:01 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 10 Sep 2020 22:01:06 +0000 (00:01 +0200)
* configure.ac: The __NO_EXT_QNX flag is no longer needed, and is
masking the declaration of memset_s() (bug#43234).
Copyright-paperwork-exempt: yes

configure.ac

index 0bcff587e8a47ade5acb503df8e2e89f9d26f492..33948fd77606ab07a466e139e01ff74f871dab51 100644 (file)
@@ -785,10 +785,7 @@ case "${canonical}" in
   *-nto-qnx* )
     opsys=qnxnto
     test -z "$CC" && CC=qcc
-    CFLAGS="$CFLAGS -D__NO_EXT_QNX"
-    if test "$with_unexec" = yes; then
-      LDFLAGS="-N2MB $LDFLAGS"
-    fi
+    LDFLAGS="-N2M $LDFLAGS"
   ;;
 
   ## Intel 386 machines where we don't care about the manufacturer.