From 7dcff73dfab07ab6ccd3ac653fbc15d71654bd79 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Tue, 28 Jul 2020 23:36:36 -0500 Subject: [PATCH] [R-package] allow R to pick between -fPIC and -fpic --- R-package/src/Makevars.in | 2 -- R-package/src/Makevars.win.in | 2 -- 2 files changed, 4 deletions(-) diff --git a/R-package/src/Makevars.in b/R-package/src/Makevars.in index 8d39281721ca..4663c1480281 100644 --- a/R-package/src/Makevars.in +++ b/R-package/src/Makevars.in @@ -7,8 +7,6 @@ LGB_CPPFLAGS = \ -DUSE_SOCKET \ -DLGB_R_BUILD -CPICFLAGS = -fPIC - PKG_CPPFLAGS = \ -I$(PKGROOT)/include \ $(LGB_CPPFLAGS) diff --git a/R-package/src/Makevars.win.in b/R-package/src/Makevars.win.in index 3746d8efe7eb..340afad3002a 100644 --- a/R-package/src/Makevars.win.in +++ b/R-package/src/Makevars.win.in @@ -7,8 +7,6 @@ LGB_CPPFLAGS = \ -DUSE_SOCKET \ -DLGB_R_BUILD -CPICFLAGS = -fPIC - PKG_CPPFLAGS = \ -I$(PKGROOT)/include \ $(LGB_CPPFLAGS)