Skip to content

Commit

Permalink
Remove non-portable flags
Browse files Browse the repository at this point in the history
  • Loading branch information
sjmgarnier committed Aug 2, 2024
1 parent 255aa45 commit 899f03a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Makevars
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
PKG_LIBS = `$(R_HOME)/bin/Rscript -e 'ROpenCVLite::opencvConfig("libs")'` $(SHLIB_OPENMP_CXXFLAGS)
PKG_CPPFLAGS = `$(R_HOME)/bin/Rscript -e 'ROpenCVLite::opencvConfig("cflags")'` -g -O3 $(SHLIB_OPENMP_CXXFLAGS)
PKG_CXXFLAGS = `$(R_HOME)/bin/Rscript -e 'Rcpp:::CxxFlags()'` -g -O3 $(SHLIB_OPENMP_CXXFLAGS)
PKG_CPPFLAGS = `$(R_HOME)/bin/Rscript -e 'ROpenCVLite::opencvConfig("cflags")'`
PKG_CXXFLAGS = `$(R_HOME)/bin/Rscript -e 'Rcpp:::CxxFlags()'` $(SHLIB_OPENMP_CXXFLAGS)
4 changes: 2 additions & 2 deletions src/Makevars.win
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_LIBS = $(shell "${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e \
"ROpenCVLite::opencvConfig('libs', arch = Sys.getenv('R_ARCH'))") $(SHLIB_OPENMP_CXXFLAGS)
PKG_CPPFLAGS = $(shell "${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e \
"ROpenCVLite::opencvConfig('cflags', arch = Sys.getenv('R_ARCH'))") -g -O3 $(SHLIB_OPENMP_CXXFLAGS)
PKG_CXXFLAGS = $(shell "${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e "Rcpp:::CxxFlags()") -g -O3 $(SHLIB_OPENMP_CXXFLAGS)
"ROpenCVLite::opencvConfig('cflags', arch = Sys.getenv('R_ARCH'))")
PKG_CXXFLAGS = $(shell "${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e "Rcpp:::CxxFlags()") $(SHLIB_OPENMP_CXXFLAGS)

0 comments on commit 899f03a

Please sign in to comment.