More threading cleanups.
authorBruce Momjian <bruce@momjian.us>
Fri, 8 Aug 2003 02:55:08 +0000 (02:55 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 8 Aug 2003 02:55:08 +0000 (02:55 +0000)
src/interfaces/libpq/Makefile
src/port/Makefile

index 27b0b2368f3ddfb9b2cabfa138a2b0c93ac237a8..2531a6f35e051a2cdcff910e98afcd540a01b16a 100644 (file)
@@ -51,7 +51,7 @@ crypt.c getaddrinfo.c inet_aton.c snprintf.c strerror.c path.c thread.c: %.c : $
 
 # compile this with thread flags
 thread.o: thread.c
-       $(CC) $(CFLAGS) $(THREAD_CFLAGS) -c thread.c
+       $(CC) $(CFLAGS) $(CPPFLAGS) $(THREAD_CFLAGS) -c thread.c
 
 dllist.c: $(backend_src)/lib/dllist.c
        rm -f $@ && $(LN_S) $< .
index 005d5c1e641b92ba37bf292bc4c4d162f7d4ae6a..d3c111d5c29ef65b7bef7897d85a086047e9df87 100644 (file)
@@ -23,7 +23,7 @@ libpgport.a: $(LIBOBJS)
        $(AR) crs $@ $^
 
 thread.o: thread.c
-       $(CC) $(CFLAGS) $(THREAD_CFLAGS) -c thread.c
+       $(CC) $(CFLAGS) $(CPPFLAGS) $(THREAD_CFLAGS) -c thread.c
 
 clean distclean maintainer-clean:
        rm -f libpgport.a $(LIBOBJS)