Skip to content

Commit

Permalink
[R-package] allow R to pick between -fPIC and -fpic for CRAN package (#…
Browse files Browse the repository at this point in the history
…3261)

Co-authored-by: Nikita Titov <[email protected]>
  • Loading branch information
jameslamb and StrikerRUS authored Jul 29, 2020
1 parent 6f339d7 commit ff85e59
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions R-package/src/Makevars.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LGB_CPPFLAGS = \
-DUSE_SOCKET \
-DLGB_R_BUILD

CPICFLAGS = -fPIC

PKG_CPPFLAGS = \
-I$(PKGROOT)/include \
$(LGB_CPPFLAGS)
Expand Down
2 changes: 0 additions & 2 deletions R-package/src/Makevars.win.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LGB_CPPFLAGS = \
-DUSE_SOCKET \
-DLGB_R_BUILD

CPICFLAGS = -fPIC

PKG_CPPFLAGS = \
-I$(PKGROOT)/include \
$(LGB_CPPFLAGS)
Expand Down

0 comments on commit ff85e59

Please sign in to comment.