make/autoconf/flags.m4
branchihse-cflags-rewrite-branch
changeset 56174 4ebba44845d6
parent 56173 d70e19fc211f
child 56175 6301cc5b17cc
equal deleted inserted replaced
56173:d70e19fc211f 56174:4ebba44845d6
   434     ARFLAGS="$ARFLAGS -mmacosx-version-min=$MACOSX_VERSION_MIN"
   434     ARFLAGS="$ARFLAGS -mmacosx-version-min=$MACOSX_VERSION_MIN"
   435   fi
   435   fi
   436 
   436 
   437    ############## ASFLAGS
   437    ############## ASFLAGS
   438 
   438 
       
   439   # FIXME: This should be CPU dependent...
   439   # Set JVM_ASFLAGS
   440   # Set JVM_ASFLAGS
   440   if test "x$OPENJDK_TARGET_OS" = xmacosx; then
   441   if test "x$OPENJDK_TARGET_OS" = xmacosx; then
   441     JVM_ASFLAGS="-x assembler-with-cpp -mno-omit-leaf-frame-pointer -mstack-alignment=16"
   442     JVM_ASFLAGS="-x assembler-with-cpp -mno-omit-leaf-frame-pointer -mstack-alignment=16"
   442   fi
   443   fi
   443   JVM_ASFLAGS="$JVM_ASFLAGS $MACHINE_FLAG"
   444   JVM_ASFLAGS="$JVM_ASFLAGS $MACHINE_FLAG"
   562     if test "x$OPENJDK_TARGET_OS" = xlinux; then
   563     if test "x$OPENJDK_TARGET_OS" = xlinux; then
   563       TOOLCHAIN_CFLAGS_JDK="-pipe"
   564       TOOLCHAIN_CFLAGS_JDK="-pipe"
   564       TOOLCHAIN_CFLAGS_JDK_CONLY="-fno-strict-aliasing" # technically NOT for CXX
   565       TOOLCHAIN_CFLAGS_JDK_CONLY="-fno-strict-aliasing" # technically NOT for CXX
   565     fi
   566     fi
   566   elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
   567   elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
   567     TOOLCHAIN_CFLAGS_JDK="mt"
   568     TOOLCHAIN_CFLAGS_JDK="-mt"
   568     TOOLCHAIN_CFLAGS_JDK_CONLY="-xc99=%none -xCC -Xa -v -W0,-noglobal" # C only
   569     TOOLCHAIN_CFLAGS_JDK_CONLY="-xc99=%none -xCC -Xa -v -W0,-noglobal" # C only
   569     TOOLCHAIN_CFLAGS_JDK_CXXONLY="-features=no%except -norunpath -xnolib" # CXX only
   570     TOOLCHAIN_CFLAGS_JDK_CXXONLY="-features=no%except -norunpath -xnolib" # CXX only
   570     TOOLCHAIN_CFLAGS_JVM="-template=no%extdef -features=no%split_init \
   571     TOOLCHAIN_CFLAGS_JVM="-template=no%extdef -features=no%split_init \
   571         -library=stlport4 -mt -features=no%except"
   572         -library=stlport4 -mt -features=no%except"
   572   elif test "x$TOOLCHAIN_TYPE" = xxlc; then
   573   elif test "x$TOOLCHAIN_TYPE" = xxlc; then