OSDN Git Service

buildsys: simplify include_clean greatly
authorMike Frysinger <vapier@gentoo.org>
Sun, 15 Jan 2012 18:33:11 +0000 (13:33 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sun, 15 Jan 2012 18:35:33 +0000 (13:35 -0500)
commit27fb7ccf7e00b1d94b7b13989006aa2da7edef9a
treeb1ae69779e3f07dc52df0bb74571fd1badd26495
parent26242d9e53bcb0997000aa2a50c6c9a72f92541d
buildsys: simplify include_clean greatly

Since we want to clean out all the headers we symlinked into include/,
just use `find` to locate all the symlinks for us.  This simplifies it
greatly, and actually fixes bugs where we build for one arch, switch
to another, and then do a clean but the previous arch headers are left
behind.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Makefile.in