%{.cxx: -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS} \
%{.C: -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS} \
%{.m: -D__LANGUAGE_OBJECTIVE_C__ -D__LANGUAGE_OBJECTIVE_C} \
-%{!.S: -D__LANGUAGE_C__ -D__LANGUAGE_C %{!ansi:-DLANGUAGE_C}}"
+%{!.S: -D__LANGUAGE_C__ -D__LANGUAGE_C %{!ansi:-DLANGUAGE_C}} \
+%{!fbuiltin: %{!fno-builtin: %{O*: \
+ -Dmemcpy=__builtin_memcpy \
+ -Dmemcmp=__builtin_memcmp \
+ -Dstrcpy=__builtin_strcpy \
+ -Dstrcmp=__builtin_strcmp \
+ -Dstrlen=__builtin_strlen }}}"
#define LINK_SPEC "\
%{G*} \
#define MD_STARTFILE_PREFIX "/usr/ccs/lib/"
#endif
+/* Turn on -mpic-extern and -fno-builtin by default. */
+#define CC1_SPEC "\
+%{O*: %{!mno-gpOPT:%{!mno-gpopt: -mgpopt}}} \
+%{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} \
+%{G*} \
+%{pic-none: -mno-half-pic} \
+%{pic-lib: -mhalf-pic} \
+%{pic-extern: -mhalf-pic} \
+%{pic-calls: -mhalf-pic} \
+%{!pic-*: -mhalf-pic} \
+%{!fbuiltin: %{!fno-builtin: -fno-builtin}} \
+%{save-temps: }"
+
/* Specify size_t, ptrdiff_t, and wchar_t types. */
#define SIZE_TYPE "long unsigned int"
#define PTRDIFF_TYPE "int"