author | Rich Burridge <rich.burridge@oracle.com> |
Thu, 31 Mar 2016 12:22:20 -0700 | |
changeset 5692 | 2191b44f19f4 |
parent 5686 | 10b8edde211b |
permissions | -rw-r--r-- |
5686
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
Changes to the /usr/lib/64/R/etc/Makeconf file to use the |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
GNU C, C++ and Fortran compilers. These are applied to the |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
Makeconf file in the prototype build area as a post install |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
action in the Makefile. |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
|
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
--- Makeconf.GNU.orig 2016-03-30 18:48:11.403166611 -0700 |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
+++ Makeconf.GNU 2016-03-30 18:53:12.985544279 -0700 |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
8 |
@@ -13,38 +13,38 @@ |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
## Used by packages 'maps' and 'mapdata' |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
AWK = gawk |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
BLAS_LIBS = -lsunperf |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
-C_VISIBILITY = |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
13 |
-CC = cc |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
14 |
-CFLAGS = -m64 -xO3 -xc99=all -xlibmieee $(LTO) |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
15 |
-CPICFLAGS = -KPIC -DPIC |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
16 |
+C_VISIBILITY = -fvisibility=hidden |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
17 |
+CC = gcc -std=gnu99 |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
18 |
+CFLAGS = -g -O2 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 $(LTO) |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
19 |
+CPICFLAGS = -fpic |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
20 |
CPPFLAGS = -m64 |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
21 |
-CXX = CC |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
22 |
+CXX = g++ |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
23 |
CXXCPP = $(CXX) -E |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
24 |
-CXXFLAGS = -norunpath -m64 -xO3 -std=c++11 -D__MATHERR_RENAME_EXCEPTION $(LTO) |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
25 |
-CXXPICFLAGS = -KPIC |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
26 |
-CXX1X = CC |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
27 |
-CXX1XFLAGS = -norunpath -m64 -xO3 -std=c++11 -D__MATHERR_RENAME_EXCEPTION |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
28 |
-CXX1XPICFLAGS = -KPIC |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
29 |
-CXX1XSTD = |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
30 |
+CXXFLAGS = -m64 -g -O2 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 $(LTO) |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
31 |
+CXXPICFLAGS = -fpic |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
32 |
+CXX1X = g++ |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
33 |
+CXX1XFLAGS = -m64 -g -O2 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
34 |
+CXX1XPICFLAGS = -fpic |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
35 |
+CXX1XSTD = -std=c++11 |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
36 |
DYLIB_EXT = .so |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
37 |
DYLIB_LD = $(CC) |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
38 |
-DYLIB_LDFLAGS = -G -fopenmp# $(CFLAGS) $(CPICFLAGS) |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
39 |
+DYLIB_LDFLAGS = -shared -fopenmp# $(CFLAGS) $(CPICFLAGS) |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
40 |
DYLIB_LINK = $(DYLIB_LD) $(DYLIB_LDFLAGS) $(LDFLAGS) |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
41 |
ECHO = echo |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
42 |
ECHO_C = \c |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
43 |
ECHO_N = |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
44 |
ECHO_T = |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
45 |
## NB, set FC before F77 as on Solaris make, setting FC sets F77 |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
46 |
-FC = f95 -m64 |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
47 |
-FCFLAGS = -xO3 -m64 $(LTO) |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
48 |
+FC = gfortran -m64 |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
49 |
+FCFLAGS = -g -O2 -m64 $(LTO) |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
50 |
## additional libs needed when linking with $(FC), e.g. on Solaris |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
51 |
FCLIBS = -lsunperf -lfsu -lsunmath |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
52 |
-F77 = f95 -m64 |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
53 |
-F77_VISIBILITY = |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
54 |
-FFLAGS = -xO3 -m64 $(LTO) |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
55 |
-FLIBS = -lsunperf -lfsu -lsunmath |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
56 |
-FCPICFLAGS = -PIC |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
57 |
-FPICFLAGS = -KPIC -DPIC |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
58 |
+F77 = gfortran -m64 |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
59 |
+F77_VISIBILITY = -fvisibility=hidden |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
60 |
+FFLAGS = -g -O2 -m64 $(LTO) |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
61 |
+FLIBS = -lsunperf -lfsu -lsunmath -lgfortran -lm -lquadmath |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
62 |
+FCPICFLAGS = -fpic |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
63 |
+FPICFLAGS = -fpic |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
64 |
FOUNDATION_CPPFLAGS = |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
65 |
FOUNDATION_LIBS = |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
66 |
JAR = /usr/bin/jar |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
67 |
@@ -68,11 +68,11 @@ |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
68 |
## needed by R CMD config |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
69 |
LIBnn = lib |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
70 |
LIBTOOL = $(SHELL) "$(R_HOME)/bin/libtool" |
5692
2191b44f19f4
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages (fix SPARC)
Rich Burridge <rich.burridge@oracle.com>
parents:
5686
diff
changeset
|
71 |
-LDFLAGS = -norunpath -m64 -KPIC -DPIC -lc -L/usr/lib/studio/64 -R/usr/lib/studio/64 -lsunperf -lfsu -lmtsk -lpicl -lkstat -L/usr/lib/64/R/lib -R/usr/lib/64/R/lib |
5686
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
72 |
+LDFLAGS = -m64 -fpic -lc -L/usr/lib/studio/64 -R/usr/lib/studio/64 -lsunperf -lfsu -lmtsk -lpicl -lkstat -L/usr/lib/64/R/lib -R/usr/lib/64/R/lib |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
73 |
LTO = |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
74 |
## needed to build applications linking to static libR |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
75 |
MAIN_LD = $(CC) |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
76 |
-MAIN_LDFLAGS = -fopenmp |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
77 |
+MAIN_LDFLAGS = -Wl,--export-dynamic -fopenmp |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
78 |
MAIN_LINK = $(MAIN_LD) $(MAIN_LDFLAGS) $(LDFLAGS) |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
79 |
MKINSTALLDIRS = $(R_HOME)/bin/mkinstalldirs |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
80 |
OBJC = gcc |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
81 |
@@ -81,21 +81,21 @@ |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
82 |
OBJCXX = |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
83 |
R_ARCH = |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
84 |
RANLIB = ranlib |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
85 |
-SAFE_FFLAGS = -xO3 -m64 |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
86 |
+SAFE_FFLAGS = -g -O2 -m64 -ffloat-store |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
87 |
SED = /usr/xpg4/bin/sed |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
88 |
SHELL = /bin/bash |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
89 |
SHLIB_CFLAGS = |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
90 |
SHLIB_CXXFLAGS = |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
91 |
SHLIB_CXXLD = $(CXX) |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
92 |
-SHLIB_CXXLDFLAGS = -lCrunG3 -G |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
93 |
+SHLIB_CXXLDFLAGS = -shared |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
94 |
SHLIB_CXX1XLD = $(CXX1X) $(CXX1XSTD) |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
95 |
-SHLIB_CXX1XLDFLAGS = -lCrunG3 -G |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
96 |
+SHLIB_CXX1XLDFLAGS = -shared |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
97 |
SHLIB_EXT = .so |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
98 |
SHLIB_FCLD = $(FC) |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
99 |
-SHLIB_FCLDFLAGS = -G |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
100 |
+SHLIB_FCLDFLAGS = -shared |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
101 |
SHLIB_FFLAGS = |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
102 |
SHLIB_LD = $(CC) |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
103 |
-SHLIB_LDFLAGS = -G# $(CFLAGS) $(CPICFLAGS) |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
104 |
+SHLIB_LDFLAGS = -shared# $(CFLAGS) $(CPICFLAGS) |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
105 |
SHLIB_LIBADD = |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
106 |
## We want to ensure libR is picked up from $(R_HOME)/lib |
10b8edde211b
22976223 Adjust the R Makeconf file to better handle installation of CRAN R packages
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
107 |
## before e.g. /usr/local/lib if a version is already installed. |