diff mbox

[10/25] Specs cleanup: NetWare

Message ID Pine.LNX.4.64.1101140008290.6059@digraph.polyomino.org.uk
State New
Headers show

Commit Message

Joseph Myers Jan. 14, 2011, 12:09 a.m. UTC
config/i386/nwld.h had an obvious typo in a spec, checking
-nodefaultlib when the option spelling is -nodefaultlibs.  This patch
fixes this.  I'll commit it as a preapproved fix to an unmaintained
target (there are no NetWare target maintainers).

2011-01-13  Joseph Myers  <joseph@codesourcery.com>

	* config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not
	-nodefaultlib.
diff mbox

Patch

diff -rupN --exclude=.svn gcc-mainline-9/gcc/config/i386/nwld.h gcc-mainline/gcc/config/i386/nwld.h
--- gcc-mainline-9/gcc/config/i386/nwld.h	2011-01-04 03:50:55.000000000 -0800
+++ gcc-mainline/gcc/config/i386/nwld.h	2011-01-12 14:19:54.000000000 -0800
@@ -31,7 +31,7 @@  along with GCC; see the file COPYING3.  
 
 #undef  LINK_SPEC
 #define LINK_SPEC "--format:NLM --extensions:GNU" \
-	" %{static:%{!nostdlib:%{!nodefaultlib:%estatic linking is not supported\n}}}"
+	" %{static:%{!nostdlib:%{!nodefaultlibs:%estatic linking is not supported\n}}}"
 
 #undef  LINK_GCC_C_SEQUENCE_SPEC
 #define LINK_GCC_C_SEQUENCE_SPEC "%L %G"