Skip to content

Commit

Permalink
fPIC flag
Browse files Browse the repository at this point in the history
  • Loading branch information
andrjohns committed Jan 24, 2024
1 parent c067518 commit c23f522
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/model.R
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,7 @@ compile <- function(quiet = TRUE,
cpp_options_to_compile_flags(c(cpp_options, list("KEEP_OBJECT"="true"))),
stancflags_val),
wd = cmdstan_path(),
env = c("current", "CXXFLAGS" = "-fPIC"),
echo = !quiet || is_verbose_mode(),
echo_cmd = is_verbose_mode(),
spinner = quiet && rlang::is_interactive() && !identical(Sys.getenv("IN_PKGDOWN"), "true"),
Expand Down

0 comments on commit c23f522

Please sign in to comment.