Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS-6970 illumos-joyent specific things should use CSTD (WIP) #357

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions usr/src/cmd/vndadm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ CLEANFILES += $(OBJS)
CFLAGS += $(CCVERBOSE)
LDLIBS += -lvnd
LINTFLAGS += -xerroff=E_NAME_DEF_NOT_USED2
C99MODE= -xc99=%all
C99LMODE= -Xc99=%all
CSTD= $(CSTD_GNU99)

all := TARGET += all
clean := TARGET += clean
Expand Down
5 changes: 2 additions & 3 deletions usr/src/cmd/vndadm/test/Makefile.com
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#

#
# Copyright (c) 2014 Joyent, Inc. All rights reserved.
# Copyright (c) 2018 Joyent, Inc.
#

include $(SRC)/Makefile.master
Expand All @@ -19,8 +19,7 @@ include $(SRC)/cmd/Makefile.cmd
#
# Force c99 for everything
#
C99MODE= -xc99=%all
C99LMODE= -Xc99=%all
CSTD= $(CSTD_GNU99)

#
# Deal with odd lint bits.
Expand Down
5 changes: 1 addition & 4 deletions usr/src/lib/brand/lx/lx_brand/Makefile.com
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,12 @@ ZGUIDANCE = -Wl,-zguidance=nounused
# not linted
SMATCH=off

C99MODE= -xc99=%all
C99LMODE= -Xc99=%all
CSTD= $(CSTD_GNU99)

.KEEP_STATE:

all: $(LIBS)

lint: lintcheck

include ../../../../Makefile.targ
include ../../../../Makefile.usdt

Expand Down
1 change: 1 addition & 0 deletions usr/src/lib/libdladm/Makefile.com
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ CPPFLAGS += -I$(SRCDIR) -D_REENTRANT

# not linted
SMATCH=off
CSTD= $(CSTD_GNU99)

CSTD= $(CSTD_GNU99)

Expand Down
3 changes: 1 addition & 2 deletions usr/src/lib/libvnd/Makefile.com
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ SMOFF += free

SRCDIR = ../common

C99MODE= -xc99=%all
C99LMODE= -Xc99=%all
CSTD= $(CSTD_GNU99)

.KEEP_STATE:

Expand Down
3 changes: 1 addition & 2 deletions usr/src/lib/varpd/svp/Makefile.com
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ LINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN
LINTFLAGS64 += -erroff=E_BAD_PTR_CAST_ALIGN
SRCDIR = ../common

C99MODE= -xc99=%all
C99LMODE= -Xc99=%all
CSTD= $(CSTD_GNU99)

.KEEP_STATE:

Expand Down