components/r/Makefile
changeset 5596 c3e2f9778be5
parent 5489 a5031bb8b66d
child 5674 a5c5f8ac5f4b
equal deleted inserted replaced
5595:7019066a05e3 5596:c3e2f9778be5
    72 
    72 
    73 CONFIGURE_ENV += CPICFLAGS="$(studio_PIC)"
    73 CONFIGURE_ENV += CPICFLAGS="$(studio_PIC)"
    74 CONFIGURE_ENV += CFLAGS="-xO3 -xc99 -xlibmieee $(CC_BITS)"
    74 CONFIGURE_ENV += CFLAGS="-xO3 -xc99 -xlibmieee $(CC_BITS)"
    75 # Needed to successfully compile R packages using C++ code.
    75 # Needed to successfully compile R packages using C++ code.
    76 CONFIGURE_ENV += CXX="$(CXX) -std=c++11"
    76 CONFIGURE_ENV += CXX="$(CXX) -std=c++11"
    77 CONFIGURE_ENV += CXXFLAGS="$(CC_BITS) -std=c++11"
    77 
       
    78 # We (the Userland) team don't need -D__MATHERR_RENAME_EXCEPTION for the
       
    79 # creation of the R packages we provide in Solaris. It would be needed by
       
    80 # our customers that try to install R packages that use C++. And they would
       
    81 # be using the version of the Studio compilers on their machine(s) to do this.
       
    82 # Studio 12.5 will hopefully automatically provide this definition when C++
       
    83 # code is compiled with "-std=c++11". When that version of the Studio
       
    84 # compilers is released, we should encourage customers to install it, but
       
    85 # for those still using Studio 12.4, this definition will continue to be needed.
       
    86 CONFIGURE_ENV += CXXFLAGS="$(CC_BITS) -std=c++11 -D__MATHERR_RENAME_EXCEPTION"
    78 CONFIGURE_ENV += FPICFLAGS="$(studio_PIC)"
    87 CONFIGURE_ENV += FPICFLAGS="$(studio_PIC)"
    79 CONFIGURE_ENV += FFLAGS="-xO3 $(CC_BITS)"
    88 CONFIGURE_ENV += FFLAGS="-xO3 $(CC_BITS)"
    80 CONFIGURE_ENV += FCFLAGS="-xO3 $(CC_BITS)"
    89 CONFIGURE_ENV += FCFLAGS="-xO3 $(CC_BITS)"
    81 CONFIGURE_ENV += FCLIBS="-lsunperf -lfsu -lsunmath"
    90 CONFIGURE_ENV += FCLIBS="-lsunperf -lfsu -lsunmath"
    82 CONFIGURE_ENV += FLIBS="-lsunperf -lfsu -lsunmath"
    91 CONFIGURE_ENV += FLIBS="-lsunperf -lfsu -lsunmath"