Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd66b31c

Browse files
committed
pg_regress: Use target-specific variable instead of overriding make rule
Use a target-specific variable to add to CPPFLAGS instead of writing acustom .c -> .o rule. This will ensure that dependency tracking isused when enabled.
1 parent5ece8ec commitd66b31c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/test/regress/GNUmakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pg_regress$(X): pg_regress.o pg_regress_main.o | submake-libpgport
4848

4949
# dependencies ensure that path changes propagate
5050
pg_regress.o: pg_regress.c$(top_builddir)/src/port/pg_config_paths.h
51-
$(CC)$(CFLAGS)$(CPPFLAGS)-I$(top_builddir)/src/port$(EXTRADEFS) -c -o$@$<
51+
pg_regress.o: overrideCPPFLAGS +=-I$(top_builddir)/src/port$(EXTRADEFS)
5252

5353
$(top_builddir)/src/port/pg_config_paths.h:$(top_builddir)/src/Makefile.global
5454
$(MAKE) -C$(top_builddir)/src/port pg_config_paths.h

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp