Joe Wilson wrote:

The languages/imcc/Makefile is generated when the system calls
below are commented out.

Thanks.

Thanks for your report.


config/gen/makefiles.pl:
 genfile('config/gen/makefiles/imcc.in',      'languages/imcc/Makefile',
         commentType => '#');
 system("$^X -pi -e's/ -Wwrite-strings//' 	languages/imcc/Makefile");

Suggestions welcome, to do directory and file specific CFLAGS handling in our Configure "language".
E.g. imcc doesn't like the strict const warnings, core_ops_cg either doesn't build with -O3 or takes ages ...


Why is this Makefile hackery so deeply hidden in the config tree?
This hackery is right at the place, where the Makefile is built.

leo

Reply via email to