diff options
author | tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-08 19:14:04 +0000 |
---|---|---|
committer | tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-08 19:14:04 +0000 |
commit | 143c96ad7c523a2330a83a69086e7740e897ebf4 (patch) | |
tree | 57b4070783846386f1465395f59b0550612d0d8c | |
parent | 2870deadb74753e1061659ca6b4f694e8cd60c13 (diff) | |
download | gcc-143c96ad7c523a2330a83a69086e7740e897ebf4.tar.gz |
GNU/Hurd: remove -bsd command-line option.
gcc/
* config/gnu.h (CPP_SPEC, LIB_SPEC): Remove handling of -bsd option.
* config/i386/gnu.h (CPP_SPEC): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169935 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/gnu.h | 10 | ||||
-rw-r--r-- | gcc/config/i386/gnu.h | 4 |
3 files changed, 12 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e27a71fe59f..eebe73cc731 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-02-08 Thomas Schwinge <thomas@schwinge.name> + + * config/gnu.h (CPP_SPEC, LIB_SPEC): Remove handling of -bsd option. + * config/i386/gnu.h (CPP_SPEC): Likewise. + 2011-02-08 Ian Lance Taylor <iant@google.com> * common.opt (fcx-limited-range): Add SetByCombined flag. diff --git a/gcc/config/gnu.h b/gcc/config/gnu.h index 1299376e665..fcf6ebcd7ce 100644 --- a/gcc/config/gnu.h +++ b/gcc/config/gnu.h @@ -1,8 +1,8 @@ /* Configuration common to all targets running the GNU system. */ /* -Copyright (C) 1994, 1995, 1997, 1998, 1999, 2002, 2003, 2004, 2007, 2008 Free -Software Foundation, Inc. +Copyright (C) 1994, 1995, 1997, 1998, 1999, 2002, 2003, 2004, 2007, 2008, 2011 +Free Software Foundation, Inc. This file is part of GCC. @@ -22,11 +22,11 @@ along with GCC. If not, see <http://www.gnu.org/licenses/>. /* Provide GCC options for standard feature-test macros. */ #undef CPP_SPEC -#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}" +#define CPP_SPEC "%{posix:-D_POSIX_SOURCE}" -/* Default C library spec. Use -lbsd-compat for gcc -bsd. */ +/* Default C library spec. */ #undef LIB_SPEC -#define LIB_SPEC "%{pthread:-lpthread} %{bsd:-lbsd-compat} %{pg|p|profile:-lc_p;:-lc}" +#define LIB_SPEC "%{pthread:-lpthread} %{pg|p|profile:-lc_p;:-lc}" /* Standard include directory. In GNU, "/usr" is a four-letter word. */ #undef STANDARD_INCLUDE_DIR diff --git a/gcc/config/i386/gnu.h b/gcc/config/i386/gnu.h index 077933bba68..ce37683b4a2 100644 --- a/gcc/config/i386/gnu.h +++ b/gcc/config/i386/gnu.h @@ -2,7 +2,7 @@ /* Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -2005, 2007, 2008 Free Software Foundation, Inc. +2005, 2007, 2008, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -27,7 +27,7 @@ along with GCC. If not, see <http://www.gnu.org/licenses/>. #define TARGET_VERSION fprintf (stderr, " (i386 GNU)"); #undef CPP_SPEC -#define CPP_SPEC "%{pthread:-D_REENTRANT} %{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}" +#define CPP_SPEC "%{pthread:-D_REENTRANT} %{posix:-D_POSIX_SOURCE}" #undef CC1_SPEC #define CC1_SPEC "%(cc1_cpu)" |