Limit Options.inc generation to desired targets
commita72207b61f7b8197f1bf446e4352e09925417f6f
authoremaste <emaste@FreeBSD.org>
Thu, 5 May 2016 21:20:09 +0000 (5 21:20 +0000)
committeremaste <emaste@FreeBSD.org>
Thu, 5 May 2016 21:20:09 +0000 (5 21:20 +0000)
tree684a733fa6e366c4f1e82561b7abbcae067575b0
parentb140a920a4eeb79f8e95860c3bac4664a12f01dc
Limit Options.inc generation to desired targets

As mentioned in the Makefile there's an "atrocious" hack to generate a
different version of Options.inc.h, depending on the library being
built.

Remove the catch-all else case and limit it to specific libraries, so
that we don't accidentally use the Options.inc.h from clangdriver if a
future libary also uses Options.inc.h.

Reviewed by: dim
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6209
lib/clang/clang.build.mk