URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 523 |
Rev 635 |
Line 65... |
Line 65... |
#undef CPLUSPLUS_CPP_SPEC
|
#undef CPLUSPLUS_CPP_SPEC
|
#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
|
#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
|
|
|
#undef DRIVER_SELF_SPECS
|
#undef DRIVER_SELF_SPECS
|
|
|
No newline at end of file
|
No newline at end of file
|
|
/* Define a set of Linux builtins. This is copied from linux.h. We can't
|
|
include the whole file for now, because that causes configure to require ld
|
|
to support --eh-frame-header, which it currently doesn't */
|
|
#define LINUX_TARGET_OS_CPP_BUILTINS() \
|
|
do { \
|
|
builtin_define ("__gnu_linux__"); \
|
|
builtin_define_std ("linux"); \
|
|
builtin_define_std ("unix"); \
|
|
builtin_assert ("system=linux"); \
|
|
builtin_assert ("system=unix"); \
|
|
builtin_assert ("system=posix"); \
|
|
} while (0)
|
|
|
|
#define TARGET_OS_CPP_BUILTINS() \
|
|
do { \
|
|
LINUX_TARGET_OS_CPP_BUILTINS(); \
|
|
/* The GNU C++ standard library requires this. */ \
|
|
if (c_dialect_cxx ()) \
|
|
builtin_define ("_GNU_SOURCE"); \
|
|
} while (0)
|
|
|
No newline at end of file
|
No newline at end of file
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.