diff options
| author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2019-09-19 11:48:25 +0000 |
|---|---|---|
| committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2019-09-19 11:48:25 +0000 |
| commit | c9bb6e653d30a4879db3875d871d38cf65f9f3a5 (patch) | |
| tree | a8f252710904dc40f95ac9988520bab3b3a6a144 /usr/src/lib | |
| parent | 8878c06c649d6723f737eb0471198810e7840fbc (diff) | |
| parent | 080a98956c44d42821b98e1d0f2ce825925e38db (diff) | |
| download | illumos-joyent-c9bb6e653d30a4879db3875d871d38cf65f9f3a5.tar.gz | |
[illumos-gate merge]
commit 080a98956c44d42821b98e1d0f2ce825925e38db
11660 common.UTF-8.src should be compiled from CLDR data
commit 1b61d0d21a627a098f0a136da21c1f40ded57f91
11663 loader.efi: text mode background color is limited to 3 bits
commit c97b1070adbc3ae2291128243229991dd705d2d6
11601 telmod: cast between incompatible function types
commit 203710accc1c9daa504cfe30bd32ec3e3ef13090
11600 redirmod: cast between incompatible function types
commit 262af05a990afe4ad4e40b9e3ec56bfe56b80db5
11705 adding a swap zvol on a DEBUG build blows assert after 11650
commit e6615f1000c4c6e6b8e18bdc6b077002bdd22526
11684 shadow compilers dislike glib2 2.62
Diffstat (limited to 'usr/src/lib')
| -rw-r--r-- | usr/src/lib/policykit/libpolkit/Makefile.com | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/usr/src/lib/policykit/libpolkit/Makefile.com b/usr/src/lib/policykit/libpolkit/Makefile.com index 0fb2f8a7f6..abb0c6891f 100644 --- a/usr/src/lib/policykit/libpolkit/Makefile.com +++ b/usr/src/lib/policykit/libpolkit/Makefile.com @@ -22,10 +22,7 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# -# usr/src/lib/policykit/libpolkit/Makefile.com -# +# Copyright 2019 OmniOS Community Edition (OmniOSce) Association. LIBRARY = libpolkit.a VERS = .0.0.0 @@ -35,10 +32,9 @@ LIBPCSRC = polkit.pc include ../../Makefile.com -LIBS = $(DYNLIB) $(LINTLIB) +LIBS = $(DYNLIB) LDLIBS += $(POLICYKIT_GLIB_LDLIBS) LDLIBS += -lc -lsecdb -$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC) SRCDIR = ../common @@ -47,12 +43,19 @@ CPPFLAGS += -DPACKAGE_LOCALE_DIR=\"/usr/lib/locale\" ROOTMAJLINK = $(ROOTLIBDIR)/$(LIBRARY:.a=.so)$(VERS_MAJ) +# glib2 >= 2.62 suppresses warnings about deprecated declarations in header +# files using pragma "GCC diagnostic ignored \"-Wdeprecated-declarations\"" +# This is not supported before GCC 4.6 so just globally suppress these +# warnings under the shadow compiler +CERRWARN += -_gcc4=-Wno-deprecated-declarations + +# smatch has problems parsing the glib header files +SMATCH=off + .KEEP_STATE: all: $(LIBS) -lint: - $(ROOTMAJLINK): -$(RM) $@; $(SYMLINK) $(DYNLIB) $@ |
