GNU/Hurd: remove -bsd command-line option.
authorThomas Schwinge <thomas@schwinge.name>
Tue, 8 Feb 2011 19:14:04 +0000 (20:14 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Tue, 8 Feb 2011 19:14:04 +0000 (20:14 +0100)
gcc/
* config/gnu.h (CPP_SPEC, LIB_SPEC): Remove handling of -bsd option.
* config/i386/gnu.h (CPP_SPEC): Likewise.

From-SVN: r169935

gcc/ChangeLog
gcc/config/gnu.h
gcc/config/i386/gnu.h

index e27a71fe59f6dc83c1cee68141857f8a4a063e5e..eebe73cc7319cd4a2972e96cf279845840c7bb23 100644 (file)
@@ -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.
index 1299376e665b5923b65eff73f2b5f0dade240df0..fcf6ebcd7ceba2856ed4a0f2b096ffa3c6604826 100644 (file)
@@ -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
index 077933bba6883c72727c542dba81754a5bea39f9..ce37683b4a2889d88ccf95a0dca3300f707b35a1 100644 (file)
@@ -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)"