Hello,
builtins/Makefile does not use CFLAGS. Suppose I compile bash under
IRIX64, using gcc. I set CFLAGS to include "-mabi=64" to generate 64bit
binaries and object files. Building bash will then fail, as
builtins/Makefile is missing this flag, thus generating 32bit object
files, which can not be linked with the 64bit object files from the
other directories.
The attached patch adds CFLAGS to the CC_FOR_BUILD definition. Please
consider including this patch (or otherwise ensuring that
builtins/Makefile inherits the CFLAGS).
Thanks,
-Jan
--
DON'T PANIC!