summaryrefslogtreecommitdiff
path: root/gcc/config/linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/linux.h')
-rw-r--r--gcc/config/linux.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/config/linux.h b/gcc/config/linux.h
index 439452600c4..ba81586ae94 100644
--- a/gcc/config/linux.h
+++ b/gcc/config/linux.h
@@ -83,8 +83,14 @@ Boston, MA 02111-1307, USA. */
"%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
/* This is for -profile to use -lc_p instead of -lc. */
-#undef CC1_SPEC
+#ifndef CC1_SPEC
#define CC1_SPEC "%{profile:-p}"
+#endif
+
+#ifndef USE_GNULIBC_1
+#undef DEFAULT_VTABLE_THUNKS
+#define DEFAULT_VTABLE_THUNKS 1
+#endif
#undef LIB_SPEC
/* We no longer link with libc_p.a or libg.a by default. If you