From 2056652bef9f6f5e4f85ccfef7d3e8b4abdaf9c7 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Sequoia Date: Fri, 27 Mar 2020 20:56:28 -0700 Subject: [PATCH] [macos] Don't add -iframework/System/Library/Frameworks to CFLAGS as the compiler does that for us Signed-off-by: Jeremy Huddleston Sequoia --- make/autoconf/flags.m4 | 3 --- 1 file changed, 3 deletions(-) diff --git a/make/autoconf/flags.m4 b/make/autoconf/flags.m4 index dfee0f293b..dfc4fa44e8 100644 --- a/make/autoconf/flags.m4 +++ b/make/autoconf/flags.m4 @@ -235,9 +235,6 @@ AC_DEFUN([FLAGS_SETUP_SYSROOT_FLAGS], fi if test "x$OPENJDK_TARGET_OS" = xmacosx; then - # We also need -iframework/System/Library/Frameworks - $1SYSROOT_CFLAGS="[$]$1SYSROOT_CFLAGS -iframework [$]$1SYSROOT/System/Library/Frameworks" - $1SYSROOT_LDFLAGS="[$]$1SYSROOT_LDFLAGS -iframework [$]$1SYSROOT/System/Library/Frameworks" # These always need to be set, or we can't find the frameworks embedded in JavaVM.framework # set this here so it doesn't have to be peppered throughout the forest $1SYSROOT_CFLAGS="[$]$1SYSROOT_CFLAGS -F [$]$1SYSROOT/System/Library/Frameworks/JavaVM.framework/Frameworks"