gcc: apply patches stored in global patches directories
commit930467503af7c4a72750e226e9a15a0e23e2e541
authorHe Chunhui <hchunhui@mail.ustc.edu.cn>
Wed, 13 Apr 2016 04:20:32 +0000 (13 04:20 +0000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 3 Jul 2016 13:46:33 +0000 (3 15:46 +0200)
treee90716f46c5d77c000c772295223b6c45a07900c
parent1e0d06cf2016638873c861394b2a5f21580d972b
gcc: apply patches stored in global patches directories

When building host gcc, patches stored in global patches directories are
skipped. This patch fixes the unexpected behavior.

Signed-off-by: Chunhui He <hchunhui@mail.ustc.edu.cn>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas:
 - rename the loop variable from 'D' to 'patchdir'
 - add some additional comments
 - remove final ; at end of loop when applying the patches, since it's
   not needed]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gcc/gcc.mk