This change to ymakefile was mysteriously lost. Were any others lost too?
/* Construct full set of libraries to be linked.
Note that SunOS needs -lm to come before -lc; otherwise, you get
- duplicated symbols. */
+ duplicated symbols. If the standard libraries were compiled
+ with GCC, we might need gnulib again after them. */
LIBES = $(LIBX) LIBS_SYSTEM LIBS_MACHINE LIBS_TERMCAP \
- LIBS_DEBUG $(GNULIB_VAR) LIB_MATH LIB_STANDARD
+ LIBS_DEBUG $(GNULIB_VAR) LIB_MATH LIB_STANDARD $(GNULIB_VAR)
/* Enable recompilation of certain other files depending on system type. */