Skip to content

Commit

Permalink
Use "-std=gnu99" by default
Browse files Browse the repository at this point in the history
  • Loading branch information
SunBeau committed Nov 23, 2023
1 parent d7005f5 commit 17c5d79
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 @@ -40,6 +40,9 @@ override PG_CONFIGURE_FLAGS += -q --without-readline --without-zlib
override TEST_CFLAGS += -g -I. -I./vendor -Wall
override TEST_LDFLAGS += -pthread

override CFLAGS += -std=gnu99
override TEST_CFLAGS += -std=gnu99

CFLAGS_OPT_LEVEL = -O3
ifeq ($(DEBUG),1)
CFLAGS_OPT_LEVEL = -O0
Expand Down

0 comments on commit 17c5d79

Please sign in to comment.