equal
deleted
inserted
replaced
903 fi |
903 fi |
904 if test "x$OPENJDK_TARGET_OS" = xsolaris; then |
904 if test "x$OPENJDK_TARGET_OS" = xsolaris; then |
905 CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DSOLARIS" |
905 CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DSOLARIS" |
906 fi |
906 fi |
907 if test "x$OPENJDK_TARGET_OS" = xmacosx; then |
907 if test "x$OPENJDK_TARGET_OS" = xmacosx; then |
908 CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DMACOSX -D_ALLBSD_SOURCE" |
908 CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DMACOSX -D_ALLBSD_SOURCE -D_DARWIN_UNLIMITED_SELECT" |
909 # Setting these parameters makes it an error to link to macosx APIs that are |
909 # Setting these parameters makes it an error to link to macosx APIs that are |
910 # newer than the given OS version and makes the linked binaries compatible even |
910 # newer than the given OS version and makes the linked binaries compatible even |
911 # if built on a newer version of the OS. |
911 # if built on a newer version of the OS. |
912 # The expected format is X.Y.Z |
912 # The expected format is X.Y.Z |
913 MACOSX_VERSION_MIN=10.7.0 |
913 MACOSX_VERSION_MIN=10.7.0 |