1/* Configuration common to all targets running the GNU system.  */
2
3/* Provide GCC options for standard feature-test macros.  */
4#undef CPP_SPEC
5#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}"
6
7/* Default C library spec.  Use -lbsd-compat for gcc -bsd.  */
8#undef LIB_SPEC
9#define LIB_SPEC "%{bsd:-lbsd-compat} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
10
11/* Standard include directory.  In GNU, "/usr" is a four-letter word.  */
12#undef STANDARD_INCLUDE_DIR
13#define STANDARD_INCLUDE_DIR "/include"
14
15/* The system headers under GNU are C++-aware.  */
16#define NO_IMPLICIT_EXTERN_C
17
18#define HURD_TARGET_OS_CPP_BUILTINS()		\
19    do {					\
20	builtin_define ("__gnu_hurd__");	\
21	builtin_define ("__GNU__");		\
22	builtin_define_std ("unix");		\
23	builtin_define_std ("MACH");		\
24	builtin_assert ("system=gnu");		\
25	builtin_assert ("system=mach");		\
26	builtin_assert ("system=unix");		\
27	builtin_assert ("system=posix");	\
28    } while (0)
29