equal
deleted
inserted
replaced
78 if test "x[$]$1SYSROOT" != "x"; then |
78 if test "x[$]$1SYSROOT" != "x"; then |
79 if test "x$TOOLCHAIN_TYPE" = xsolstudio; then |
79 if test "x$TOOLCHAIN_TYPE" = xsolstudio; then |
80 if test "x$OPENJDK_TARGET_OS" = xsolaris; then |
80 if test "x$OPENJDK_TARGET_OS" = xsolaris; then |
81 # Solaris Studio does not have a concept of sysroot. Instead we must |
81 # Solaris Studio does not have a concept of sysroot. Instead we must |
82 # make sure the default include and lib dirs are appended to each |
82 # make sure the default include and lib dirs are appended to each |
83 # compile and link command line. |
83 # compile and link command line. Must also add -I-xbuiltin to enable |
84 $1SYSROOT_CFLAGS="-I[$]$1SYSROOT/usr/include" |
84 # inlining of system functions and intrinsics. |
|
85 $1SYSROOT_CFLAGS="-I-xbuiltin -I[$]$1SYSROOT/usr/include" |
85 $1SYSROOT_LDFLAGS="-L[$]$1SYSROOT/usr/lib$OPENJDK_TARGET_CPU_ISADIR \ |
86 $1SYSROOT_LDFLAGS="-L[$]$1SYSROOT/usr/lib$OPENJDK_TARGET_CPU_ISADIR \ |
86 -L[$]$1SYSROOT/lib$OPENJDK_TARGET_CPU_ISADIR \ |
87 -L[$]$1SYSROOT/lib$OPENJDK_TARGET_CPU_ISADIR \ |
87 -L[$]$1SYSROOT/usr/ccs/lib$OPENJDK_TARGET_CPU_ISADIR" |
88 -L[$]$1SYSROOT/usr/ccs/lib$OPENJDK_TARGET_CPU_ISADIR" |
88 fi |
89 fi |
89 elif test "x$TOOLCHAIN_TYPE" = xgcc; then |
90 elif test "x$TOOLCHAIN_TYPE" = xgcc; then |