diff --git a/Makefile b/Makefile
index 0d5fc0a954cbf04557ae908ec98f804d1f4f6692..0e2acb73d52e6a045818f99f4082d2faf1ceb402 100644
--- a/Makefile
+++ b/Makefile
@@ -306,7 +306,7 @@ MOD_SUBDIRS_EMBED_LIBS:=$(MOD_SUBDIRS:%=%-embed-libs)
 MOD_SUBDIRS_MENUSELECT_TREE:=$(MOD_SUBDIRS:%=%-menuselect-tree)
 
 ifneq ($(findstring darwin,$(OSARCH)),)
-  ASTCFLAGS+=-D__Darwin__ -fnested-functions
+  ASTCFLAGS+=-D__Darwin__
   SOLINK=-dynamic -bundle -undefined suppress -force_flat_namespace
 else
 # These are used for all but Darwin