HomePhabricator

build: Remove -I for everything but project root

Description

build: Remove -I for everything but project root

Summary:
Remove -I from build system for everything but the project root,
and built-in dependencies.

Partial backport of core PR11651 (commit 0c71521)
https://github.com/bitcoin/bitcoin/pull/11651/commits/0c715214dd2d03b66a366a87bf6d2c576c0176c2

Completes T649

Test Plan:

make check
ninja check
ninja bitcoin-bench

Reviewers: #bitcoin_abc, deadalnix, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D3016

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Aug 15 2017, 14:40
FabienCommitted on May 12 2019, 05:39
FabienPushed on May 13 2019, 08:06
Reviewer
Restricted Project
Differential Revision
D3016: build: Remove -I for everything but project root
Parents
rSTAGING822224e62410: [tests] remove txdb.h dependency from test_bitcoin.h
Branches
Unknown
Tags
Unknown