Skip to content

Commit 0f8d55c

Browse files
committed
fix cflags
1 parent d181bad commit 0f8d55c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contrib/raftable/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ raft/obj/raft.o raft/obj/util.o:
1212

1313
EXTRA_INSTALL = contrib/raftable
1414

15-
override CFLAGS += -Wfatal-errors -Wall
16-
override CPPFLAGS += -Iraft/include
17-
1815
ifdef USE_PGXS
1916
PG_CONFIG = pg_config
2017
PGXS := $(shell $(PG_CONFIG) --pgxs)
@@ -26,5 +23,8 @@ include $(top_builddir)/src/Makefile.global
2623
include $(top_srcdir)/contrib/contrib-global.mk
2724
endif
2825

26+
override CFLAGS += -Wfatal-errors -Wall
27+
override CPPFLAGS += -Iraft/include
28+
2929
check:
3030
$(prove_check)

0 commit comments

Comments
 (0)