[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [6465] small fixes for XSParagraph
From: |
Karl Berry |
Subject: |
Re: [6465] small fixes for XSParagraph |
Date: |
Sun, 26 Jul 2015 23:21:04 GMT |
+# Clear any flags set by configure at the top level, because the
+# compiler used in this subdirectory might be different.
+CFLAGS =
That doesn't seem right. CFLAGS is supposed to be explicitly reserved
for users in the GNU world, and presumably those flags should still be
passed. (Or a different user-reserved variable, maybe, since it's
possibly a different compiler.)
To eradicate all configure-determined flags, I think several
other variables would have to be reset, since the basic compile command
looks like:
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
But one would hope that there is a way to do this that does not involve
embedding such knowledge of how automake implements compilation ... -k
- Re: [6465] small fixes for XSParagraph,
Karl Berry <=