Thomas Pegg wrote:
I want to make a note about this diff, it's a major simplification of
the instructions and part of an idea I have to reduce some of the
ifdefs. Of paticular note is the variable $(ARCH_CC) this is a
replacement for the CC="gcc $(64FLAGS)" (a similar definition can also
be used CXX as well) part of the configure line for CLFS arches.
Currently it's defined in the vars subdirectory for the zlib package,
but in an effort to use it more widely across all the Makefiles (where
possible), it would be better to move this to the top level
vars.<arch> file. Another variable that would be useful is
$(EXTRA_CONF), for those packages that need extra flags for a specific
arch, no need to use an ifdef in that case.
The basic point of the idea is to currently replace the ifdefs that
are used in a similar fashion like here with zlib, across all packages
(where possible) down to just the normal configure line with
$(ARCH_CC/CXX) in front and the $(EXTRA_CONF) tacked on the end.
Comments?
About $(ARCH_CC/CXX): That's exactly what config.site is for. So +1 to
the goal and -1 to the implementation.
$(EXTRA_CONF) is probably OK.
--
Alexander E. Patrakov
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page