mirror of
https://github.com/postgres/postgres.git
synced 2025-11-21 00:42:43 +03:00
> The snprintf stuff in interfaces/ecpg/preproc/Makefile.in is broken.
Please > apply the attached patch. > > Andreas Kardos > >
This commit is contained in:
@@ -9,7 +9,7 @@ CFLAGS+=-I../include -DMAJOR_VERSION=$(MAJOR_VERSION) \
|
||||
-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) \
|
||||
-DINCLUDE_PATH=\"$(HEADERDIR)\" -g
|
||||
|
||||
OBJ=preproc.o pgc.o type.o ecpg.o ecpg_keywords.o output.o\
|
||||
OBJS=preproc.o pgc.o type.o ecpg.o ecpg_keywords.o output.o\
|
||||
keywords.o c_keywords.o ../lib/typename.o descriptor.o variable.o
|
||||
|
||||
all:: ecpg
|
||||
@@ -22,8 +22,8 @@ $(SRCDIR)/backend/port/snprintf.o:
|
||||
endif
|
||||
|
||||
# Rule that really do something.
|
||||
ecpg: $(OBJ)
|
||||
$(CC) -o ecpg $(OBJ) $(LEXLIB) $(LDFLAGS)
|
||||
ecpg: $(OBJS)
|
||||
$(CC) -o ecpg $(OBJS) $(LEXLIB) $(LDFLAGS)
|
||||
|
||||
preproc.c preproc.h: preproc.y
|
||||
$(YACC) $(YFLAGS) $<
|
||||
|
||||
Reference in New Issue
Block a user