]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
autotools: delete LCC compiler support bits
authorViktor Szakats <commit@vsz.me>
Sun, 19 Nov 2023 17:45:24 +0000 (17:45 +0000)
committerViktor Szakats <commit@vsz.me>
Mon, 20 Nov 2023 22:28:17 +0000 (22:28 +0000)
Follow-up to fd7ef00f4305a2919e6950def1cf83d0110a4acd #12222

Closes #12357

m4/curl-compilers.m4

index 636c2fafb81ef1072b97b21082e3377063ba1908..57bdc2686a322e693a9bc928ff022aef15d37633 100644 (file)
@@ -559,12 +559,6 @@ AC_DEFUN([CURL_SET_COMPILER_BASIC_OPTS], [
         tmp_CFLAGS="$tmp_CFLAGS"
         ;;
         #
-      LCC)
-        #
-        dnl Disallow run-time dereferencing of null pointers
-        tmp_CFLAGS="$tmp_CFLAGS -n"
-        ;;
-        #
       SGI_MIPS_C)
         #
         dnl Placeholder
@@ -1085,17 +1079,6 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [
         tmp_CFLAGS="$tmp_CFLAGS"
         ;;
         #
-      LCC)
-        #
-        if test "$want_warnings" = "yes"; then
-          dnl Highest warning level is double -A, next is single -A.
-          dnl Due to the big number of warnings these trigger on third
-          dnl party header files it is impractical for us to use any of
-          dnl them here. If you want them simply define it in CPPFLAGS.
-          tmp_CFLAGS="$tmp_CFLAGS"
-        fi
-        ;;
-        #
       SGI_MIPS_C)
         #
         if test "$want_warnings" = "yes"; then