In cflags.SH trim the case statement of file basenames.
authorNicholas Clark <nick@ccl4.org>
Wed, 28 Mar 2012 15:15:15 +0000 (17:15 +0200)
committerNicholas Clark <nick@ccl4.org>
Tue, 19 Jun 2012 08:29:20 +0000 (10:29 +0200)
commit5729ffdda207fd02149cc5ed14dbfdce8c47cac3
tree1e907a5be677d3a4e394bda028cd370f4e148d7b
parentcdc1aa425ff891f079f6e8b0787d0d9aa145bd47
In cflags.SH trim the case statement of file basenames.

Add examples showing how to use cflags.SH to tweak the compiler flags used
for individual object files.

Previously cflags.SH contained a somewhat stale pre-canned list of file
basenames including removed files such as usersub (deleted before 5.000
shipped), and a partial list of 5.000 XS extensions. Whilst it's possible
to generate the correct list in cflags by parsing MANIFEST (and adding a few
fixups), it's still not actually *useful*, as cflags gets overwritten as
soon as config.sh changes. Hence the most end-user useful solution with
minimal maintenance is to eliminate the list entirely, and document how the
user should add to it as necessary.
INSTALL
cflags.SH