aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/darwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/darwin.c')
-rw-r--r--gcc/config/darwin.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index 507b1b4..73836ae 100644
--- a/gcc/config/darwin.c
+++ b/gcc/config/darwin.c
@@ -1708,11 +1708,6 @@ darwin_kextabi_p (void) {
void
darwin_override_options (void)
{
- if (flag_apple_kext && strcmp (lang_hooks.name, "GNU C++") != 0)
- {
- warning (0, "command line option %<-fapple-kext%> is only valid for C++");
- flag_apple_kext = 0;
- }
if (flag_mkernel || flag_apple_kext)
{
/* -mkernel implies -fapple-kext for C++ */