diff options
author | Paweł Chmielowski <pchmielowski@process-one.net> | 2020-03-03 11:18:07 +0100 |
---|---|---|
committer | Paweł Chmielowski <pchmielowski@process-one.net> | 2020-03-03 11:25:17 +0100 |
commit | 151b818af4d01b8afd979d43d1334be423560419 (patch) | |
tree | 43fbe87787857f35d43e09988a3fbb99078c5cce /rebar.config.script | |
parent | Fix list parameters in sql queries on pgsql (diff) |
Use compilation flags used during build to compile modules in ext_mod
This fixes issue #3178
Diffstat (limited to 'rebar.config.script')
-rw-r--r-- | rebar.config.script | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rebar.config.script b/rebar.config.script index fee82802..c09380d7 100644 --- a/rebar.config.script +++ b/rebar.config.script @@ -304,12 +304,14 @@ fun(Hooks) -> end, ProcessErlOpt = fun(Vals) -> - lists:map( + R = lists:map( fun({i, Path}) -> {i, ResolveDepPath(Path)}; (ErlOpt) -> ErlOpt - end, Vals) + end, Vals), + M = lists:filter(fun({d, M}) -> true; (_) -> false end, R), + [{d, 'ALL_DEFS', M} | R] end, ProcssXrefExclusions = fun(Items) -> |