Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libc/sparcv9/Makefile.com
          +++ new/usr/src/lib/libc/sparcv9/Makefile.com
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  
  22   22  #
  23   23  # Copyright 2016 Gary Mills
  24   24  # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
  25      -# Copyright (c) 2015, Joyent, Inc.  All rights reserved.
       25 +# Copyright 2019 Joyent, Inc.
  26   26  # Copyright (c) 2013, OmniTI Computer Consulting, Inc. All rights reserved.
  27   27  # Copyright 2013 Garrett D'Amore <garrett@damore.org>
  28   28  # Copyright 2018 Nexenta Systems, Inc.
  29   29  # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
  30   30  # Copyright 2019 Peter Tribble.
  31   31  #
  32   32  
  33   33  LIBCDIR=        $(SRC)/lib/libc
  34   34  LIB_PIC=        libc_pic.a
  35   35  VERS=           .1
↓ open down ↓ 1001 lines elided ↑ open up ↑
1037 1037  SONAME = libc.so.1
1038 1038  
1039 1039  CFLAGS64 += $(CCVERBOSE)
1040 1040  
1041 1041  # This is necessary to avoid problems with calling _ex_unwind().
1042 1042  # We probably don't want any inlining anyway.
1043 1043  CFLAGS64 += -xinline=
1044 1044  
1045 1045  CERRWARN += -_gcc=-Wno-parentheses
1046 1046  CERRWARN += -_gcc=-Wno-switch
1047      -CERRWARN += -_gcc=-Wno-uninitialized
     1047 +CERRWARN += $(CNOWARN_UNINIT)
1048 1048  CERRWARN += -_gcc=-Wno-unused-value
1049 1049  CERRWARN += -_gcc=-Wno-unused-label
1050 1050  CERRWARN += -_gcc=-Wno-unused-variable
1051 1051  CERRWARN += -_gcc=-Wno-type-limits
1052 1052  CERRWARN += -_gcc=-Wno-char-subscripts
1053 1053  CERRWARN += -_gcc=-Wno-clobbered
1054 1054  CERRWARN += -_gcc=-Wno-unused-function
1055 1055  CERRWARN += -_gcc=-Wno-address
1056 1056  
1057 1057  # Setting THREAD_DEBUG = -DTHREAD_DEBUG (make THREAD_DEBUG=-DTHREAD_DEBUG ...)
↓ open down ↓ 241 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX