postgres.git / summary / log / commit / refs

commit    2227bb9c948d2dcc167d414630ed3bae7f31db83
Author:   Peter Eisentraut <peter_e@gmx.net>
Date:     Sun Apr 29 17:59:12 2012 +0000

    Simplify makefile rule
    
    Instead of writing out the .c -> .o rule, use the default one, so that
    dependency tracking can be used.


src/port/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/port/Makefile b/src/port/Makefile index 4e3a8edd3a1..0225b397a30 100644 --- a/src/port/Makefile +++ b/src/port/Makefile @@ -53,8 +53,7 @@ libpgport.a: $(OBJS) $(AR) $(AROPT) $@ $^ # thread.o needs PTHREAD_CFLAGS (but thread_srv.o does not) -thread.o: thread.c - $(CC) $(CFLAGS) $(CPPFLAGS) $(PTHREAD_CFLAGS) -c $< +thread.o: CFLAGS+=$(PTHREAD_CFLAGS) # # Server versions of object files [parent: aebe989477ac]