Skip to content

Commit

Permalink
Merge pull request #317 from japinli/illumos
Browse files Browse the repository at this point in the history
Fix compiler error on Illumos
  • Loading branch information
marcoslot authored Jun 17, 2024
2 parents e2a6143 + 9f73333 commit 9d0576c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ ifeq ($(CC),gcc)
else
PG_CPPFLAGS = -std=c99 -Wall -Wextra -Werror -Wno-unused-parameter -Wno-implicit-fallthrough -Iinclude -I$(libpq_srcdir)
endif
ifeq ($(shell uname -s),SunOS)
PG_CPPFLAGS += -Wno-sign-compare -D__EXTENSIONS__
endif
SHLIB_LINK = $(libpq)
EXTRA_CLEAN += $(addprefix src/,*.gcno *.gcda) # clean up after profiling runs

Expand Down

0 comments on commit 9d0576c

Please sign in to comment.