[tlbuild] -funsigned-char is not portable

Peter Breitenlohner peb at mppmu.mpg.de
Wed Jun 3 17:37:38 CEST 2009


On Wed, 3 Jun 2009, Peter Breitenlohner wrote:

> no there is not. Automake uses CFLAGS (or CXXFLAGS) for both compilation and
> linking.

Hi Vladimir,

correction. There actually is a way (although this is some kind of
cheating).

In texk/bibtex8/Makefile.am you could replace

AM_CPPFLAGS = -DUNIX -DKPATHSEA -DSUPPORT_8BIT
AM_CFLAGS = -funsigned-char

by

AM_CPPFLAGS = -DUNIX -DKPATHSEA -DSUPPORT_8BIT -funsigned-char
AM_CFLAGS =

and then either (1) run automake-1.11 in texk/bibtex8/, or (2) run
autoreconf, or (3) manually apply the same modification to Makefile.in.

Regards
Peter


More information about the tlbuild mailing list