mirror of
https://github.com/darlinghq/darling-openjdk.git
synced 2024-11-23 12:29:56 +00:00
[macos] Don't add -iframework<path>/System/Library/Frameworks to CFLAGS as the compiler does that for us
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
This commit is contained in:
parent
0d73dd5640
commit
2056652bef
@ -235,9 +235,6 @@ AC_DEFUN([FLAGS_SETUP_SYSROOT_FLAGS],
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
|
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
|
||||||
# We also need -iframework<path>/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
|
# 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
|
# 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"
|
$1SYSROOT_CFLAGS="[$]$1SYSROOT_CFLAGS -F [$]$1SYSROOT/System/Library/Frameworks/JavaVM.framework/Frameworks"
|
||||||
|
Loading…
Reference in New Issue
Block a user