common/autoconf/toolchain.m4
changeset 19311 741980fe0b33
parent 18426 bf9e616c1476
child 19758 3e519fa7e632
child 22465 51cc970b1b88
equal deleted inserted replaced
19257:30a1d677a20c 19311:741980fe0b33
   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