Commit cf78f929 by Doug Evans

(LIB_SPEC): Don't use absolute path names if cross compiling.

From-SVN: r10633
parent f905fc0d
...@@ -103,7 +103,11 @@ Boston, MA 02111-1307, USA. ...@@ -103,7 +103,11 @@ Boston, MA 02111-1307, USA.
#define STARTFILE_SPEC \ #define STARTFILE_SPEC \
"%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}}" "%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}}"
#ifdef CROSS_COMPILE
#define LIB_SPEC "-lc crtn.o%s"
#else
#define LIB_SPEC "%{p:-L/usr/lib/libp}%{pg:-L/usr/lib/libp} -lc crtn.o%s" #define LIB_SPEC "%{p:-L/usr/lib/libp}%{pg:-L/usr/lib/libp} -lc crtn.o%s"
#endif
/* Special flags for the linker. I don't know what they do. */ /* Special flags for the linker. I don't know what they do. */
......
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