nickva commented on a change in pull request #1387: Make `bin_opt_info` optional
URL: https://github.com/apache/couchdb/pull/1387#discussion_r195485047
 
 

 ##########
 File path: rebar.config.script
 ##########
 @@ -87,13 +87,18 @@ MakeDep = fun
         {AppName, ".*", {git, Url, Version}, Options}
 end,
 
+ErlOpts = case os:getenv("ERL_OPTS") of
+    "bin_opt_info" -> [bin_opt_info, debug_info, {i, "../"}];
 
 Review comment:
   If debug_info is provided already from rebar,  why add it again?
   
   Would this work?
   
   ```
   ErlOpts = case os:getenv("ERL_OPTS") of
       false -> [{i, "../"}];
       ErlOpt -> [ErlOpt, {i, "../"}]
   end
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to