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/sparc/Makefile.com
          +++ new/usr/src/lib/libc/sparc/Makefile.com
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  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 (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
  24      -# Copyright 2016 Joyent, Inc.
       24 +# Copyright 2019 Joyent, Inc.
  25   25  # Copyright (c) 2013, OmniTI Computer Consulting, Inc. All rights reserved.
  26   26  # Copyright 2013 Garrett D'Amore <garrett@damore.org>
  27   27  # Copyright 2018 Nexenta Systems, Inc.
  28   28  # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
  29   29  # Copyright 2019 Peter Tribble.
  30   30  #
  31   31  
  32   32  LIBCDIR=        $(SRC)/lib/libc
  33   33  LIB_PIC=        libc_pic.a
  34   34  VERS=           .1
↓ open down ↓ 1062 lines elided ↑ open up ↑
1097 1097  SONAME = libc.so.1
1098 1098  
1099 1099  CFLAGS += $(CCVERBOSE)
1100 1100  
1101 1101  # This is necessary to avoid problems with calling _ex_unwind().
1102 1102  # We probably don't want any inlining anyway.
1103 1103  CFLAGS += -xinline=
1104 1104  
1105 1105  CERRWARN += -_gcc=-Wno-parentheses
1106 1106  CERRWARN += -_gcc=-Wno-switch
1107      -CERRWARN += -_gcc=-Wno-uninitialized
     1107 +CERRWARN += $(CNOWARN_UNINIT)
1108 1108  CERRWARN += -_gcc=-Wno-unused-value
1109 1109  CERRWARN += -_gcc=-Wno-unused-label
1110 1110  CERRWARN += -_gcc=-Wno-unused-variable
1111 1111  CERRWARN += -_gcc=-Wno-type-limits
1112 1112  CERRWARN += -_gcc=-Wno-char-subscripts
1113 1113  CERRWARN += -_gcc=-Wno-clobbered
1114 1114  CERRWARN += -_gcc=-Wno-unused-function
1115 1115  CERRWARN += -_gcc=-Wno-address
1116 1116  
1117 1117  # Setting THREAD_DEBUG = -DTHREAD_DEBUG (make THREAD_DEBUG=-DTHREAD_DEBUG ...)
↓ open down ↓ 267 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX