mirror of
https://github.com/curl/curl.git
synced 2026-08-05 21:16:13 +03:00
build: use per-target '_CPPFLAGS' for those currently using default
Automake documents that doing this will make it choose a different name for intermediate object files even when sharing source files across targets of same Makefile.am. Up to automake 1.13.1 target's intermediate object files were placed in the build subdirectory of the target. We depended on this, probably undocumented behavior, to achieve same behavior as if a per-target flag had been specified when building targets that actually belong to different Makefile.am files. It seems automake 1.13.2 is going to break behavior mentioned above. So, lets use a documented behavior in order to achieve same purpose, across automake versions, no matter where automake wishes to place intermediate object files. Our build targets that already were using a per-target '_CFLAGS' or '_CPPFLAGS' need no 'fixing', these were already 'fixed'. The only Makefile.am or Makefile.in files in libcurl's source tree touched by this 'fix' are tests/libtest/Makefile.inc and tests/unit/Makefile.inc.
This commit is contained in:
parent
d7f2c3af5f
commit
4b401b2d99
2 changed files with 88 additions and 1 deletions
|
|
@ -9,11 +9,29 @@ UNITPROGS = unit1300 unit1301 unit1302 unit1303 unit1304 unit1305 unit1307 \
|
|||
unit1308 unit1309
|
||||
|
||||
unit1300_SOURCES = unit1300.c $(UNITFILES)
|
||||
unit1300_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
unit1301_SOURCES = unit1301.c $(UNITFILES)
|
||||
unit1301_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
unit1302_SOURCES = unit1302.c $(UNITFILES)
|
||||
unit1302_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
unit1303_SOURCES = unit1303.c $(UNITFILES)
|
||||
unit1303_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
unit1304_SOURCES = unit1304.c $(UNITFILES)
|
||||
unit1304_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
unit1305_SOURCES = unit1305.c $(UNITFILES)
|
||||
unit1305_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
unit1307_SOURCES = unit1307.c $(UNITFILES)
|
||||
unit1307_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
unit1308_SOURCES = unit1308.c $(UNITFILES)
|
||||
unit1308_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
unit1309_SOURCES = unit1309.c $(UNITFILES)
|
||||
unit1309_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue