File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 158158 \itemize {
159159 \item Control of symbol visibility is now supported on macOS (the
160160 previous check only worked on ELF platforms ).
161+
162+ \item Setting environment variable \env {_R_USE_NO_REMAP_ } to a
163+ true valueforces \code {R_NO_REMAP } to be defined during
164+ compilation of C code , except for packages with a
165+ \file {src / Makefile }.
161166 }
162167 }
163168
Original file line number Diff line number Diff line change @@ -2762,6 +2762,8 @@ if(FALSE) {
27622762 paste0(" LTO_FC=" , shQuote(" $(LTO_FC_OPT)" )))
27632763 else if (isFALSE(use_lto )) c(" LTO=" , " LTO_FC=" )
27642764 )
2765+ if (config_val_to_logical(Sys.getenv(" _R_USE_NO_REMAP_" , " TRUE" )))
2766+ makeargs <- c(makeargs , " XDEFS=-DR_NO_REMAP" )
27652767 if (config_val_to_logical(Sys.getenv(" _R_CXX_USE_NO_REMAP_" , " TRUE" )))
27662768 makeargs <- c(makeargs , " CXX_DEFS=-DR_NO_REMAP" )
27672769# # if(config_val_to_logical(Sys.getenv("_R_USE_STRICT_R_HEADERS_", "FALSE")))
You can’t perform that action at this time.
0 commit comments