diff options
author | Richard Sandiford <richard@codesourcery.com> | 2006-06-29 03:47:43 +0000 |
---|---|---|
committer | Richard Sandiford <richard@codesourcery.com> | 2006-06-29 03:47:43 +0000 |
commit | f82698345fe501cf624819d08e60215d234d8231 (patch) | |
tree | ff16a932368e4fd12712a76019efa4883c0be69f /gcc/config/m68k/uclinux.h | |
parent | 7d9fb55088abd77468377d07b94078e465bb60e2 (diff) |
* config/m68k/uclinux.h (LIB_SPEC): Allow -static-libc to suppress
the linking of the shared C library.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/coldfire-4_1@115065 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m68k/uclinux.h')
-rw-r--r-- | gcc/config/m68k/uclinux.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/m68k/uclinux.h b/gcc/config/m68k/uclinux.h index 90e9101be8f..0ce0b307e40 100644 --- a/gcc/config/m68k/uclinux.h +++ b/gcc/config/m68k/uclinux.h @@ -33,7 +33,7 @@ Boston, MA 02110-1301, USA. */ profiling, or libg.a. */ #undef LIB_SPEC #define LIB_SPEC \ -"%{mid-shared-library:-R libc.gdb%s} -lc" +"%{mid-shared-library:%{!static-libc:-R libc.gdb%s}} -lc" /* Default to using -elf2flt with no options. */ #undef LINK_SPEC |