summaryrefslogtreecommitdiff
path: root/gcc/config/arm/linux-elf.h
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-14 14:27:33 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-14 14:27:33 +0000
commitad8eb5c5b9e39c218a700135a610f571a18a5b82 (patch)
tree41ed5342899f5b8cf0212e9d8aaf00db37e9e5dc /gcc/config/arm/linux-elf.h
parent4ea9d8d039d78cda44f7fd5994e8d5c640ef55cf (diff)
downloadgcc-ad8eb5c5b9e39c218a700135a610f571a18a5b82.tar.gz
* config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52296 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/arm/linux-elf.h')
-rw-r--r--gcc/config/arm/linux-elf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h
index 86e48c898cf..947bd9c9226 100644
--- a/gcc/config/arm/linux-elf.h
+++ b/gcc/config/arm/linux-elf.h
@@ -42,6 +42,10 @@ Boston, MA 02111-1307, USA. */
#define CPP_APCS_PC_DEFAULT_SPEC "-D__APCS_32__"
+/* The GNU C++ standard library requires that these macros be defined. */
+#undef CPLUSPLUS_CPP_SPEC
+#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
+
/* Now we define the strings used to build the spec file. */
#define LIB_SPEC \
"%{shared: -lc} \