make/autoconf/flags.m4
changeset 51783 4482acfef2a5
parent 51641 9ce4a0d718c7
child 52351 0ecb4e520110
child 56900 d5d542d50e3c
equal deleted inserted replaced
51782:a50956e2368c 51783:4482acfef2a5
   334     # The option used to specify the target .o,.a or .so file.
   334     # The option used to specify the target .o,.a or .so file.
   335     # When compiling, how to specify the to be created object file.
   335     # When compiling, how to specify the to be created object file.
   336     CC_OUT_OPTION='-o$(SPACE)'
   336     CC_OUT_OPTION='-o$(SPACE)'
   337     # When linking, how to specify the output
   337     # When linking, how to specify the output
   338     LD_OUT_OPTION='-o$(SPACE)'
   338     LD_OUT_OPTION='-o$(SPACE)'
   339     # When archiving, how to specify the to be create static archive for object files.
   339     # When archiving, how to specify the destination static archive.
   340     AR_OUT_OPTION='rcs$(SPACE)'
   340     if test "x$OPENJDK_TARGET_OS" = xmacosx; then
       
   341       AR_OUT_OPTION='-r -cs$(SPACE)'
       
   342     else
       
   343       AR_OUT_OPTION='-rcs$(SPACE)'
       
   344     fi
   341   fi
   345   fi
   342   AC_SUBST(CC_OUT_OPTION)
   346   AC_SUBST(CC_OUT_OPTION)
   343   AC_SUBST(LD_OUT_OPTION)
   347   AC_SUBST(LD_OUT_OPTION)
   344   AC_SUBST(AR_OUT_OPTION)
   348   AC_SUBST(AR_OUT_OPTION)
   345 
   349