common/autoconf/toolchain.m4
changeset 22465 51cc970b1b88
parent 22461 6ed8434664ed
parent 19311 741980fe0b33
child 22466 25aaf85d1ada
equal deleted inserted replaced
22464:f466b1e79df5 22465:51cc970b1b88
   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