Skip to content

Commit

Permalink
illumos: turn off bounded attribute warnings that fire in upstream op…
Browse files Browse the repository at this point in the history
…enssh code

sadly they're in the headers so we have to turn the warning off for
all .c files
  • Loading branch information
arekinath committed Jan 30, 2024
1 parent 7b4855a commit 85cabf6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ ifeq ($(SYSTEM), SunOS)
# feature tests, who likes 'em
SYSTEM_CFLAGS += -D_XOPEN_SOURCE=600
SYSTEM_CFLAGS += -D__EXTENSIONS__ -D_REENTRANT
SYSTEM_CFLAGS += -Wno-error=attributes

SYSTEM_LIBS = -L$(PROTO_AREA)/usr/lib/64 -lssp -lsocket -lnsl
SYSTEM_LDFLAGS = -m64 -L$(PROTO_AREA)/usr/lib/64
Expand Down

0 comments on commit 85cabf6

Please sign in to comment.