Commit 06ed212d by Richard Kenner

(LIB_SPEC): Always output -lmach.

From-SVN: r11606
parent 3d3ff202
...@@ -60,11 +60,11 @@ Boston, MA 02111-1307, USA. */ ...@@ -60,11 +60,11 @@ Boston, MA 02111-1307, USA. */
/* libpm.o and guard.o are for the performance monitoring modules (ignored) */ /* libpm.o and guard.o are for the performance monitoring modules (ignored) */
/* /usr/lib/noieee contains non-IEEE compliant (but faster) math routines */ /* /usr/lib/noieee contains non-IEEE compliant (but faster) math routines */
#if HAVE_DASH_G #if HAVE_DASH_G
#define LIB_SPEC "%{mnoieee:-L/usr/lib/noieee} %{mnx:-lnx -lmach} % #define LIB_SPEC \
{g*:-lg} -lc -lic" "%{mnoieee:-L/usr/lib/noieee} %{mnx:-lnx} %{g*:-lg} -lc -lmach -lc -lic"
#else /* HAVE_DASH_G */ #else /* HAVE_DASH_G */
/* can't use -g for -lg; libg.a doesn't have a symbol table and ld complains */ /* can't use -g for -lg; libg.a doesn't have a symbol table and ld complains */
#define LIB_SPEC "%{mnoieee:-L/usr/lib/noieee} %{mnx:-lnx -lmach} -lc -lic" #define LIB_SPEC "%{mnoieee:-L/usr/lib/noieee} %{mnx:-lnx} -lc -lmach -lc -lic"
#endif /* HAVE_DASH_G */ #endif /* HAVE_DASH_G */
/* Get rid of definition from svr3.h. */ /* Get rid of definition from svr3.h. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment