Skip to content

Commit

Permalink
tests/dmd/dshell/dll_cxx.d: Don't add -mMODEL before cheking NO_ARCH_…
Browse files Browse the repository at this point in the history
…VARIANT (#4612)

Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
  • Loading branch information
the-horo authored Apr 1, 2024
1 parent f79988c commit e170ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/dmd/dshell/dll_cxx.d
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ int main()
}
else
{
dllCmd ~= [ `-m` ~ Vars.MODEL, `-shared`, `-fPIC`, `-o`, Vars.DLL ];
dllCmd ~= [ `-shared`, `-fPIC`, `-o`, Vars.DLL ];
mainExtra = `-fPIC -L-L$OUTPUT_BASE -L$DLL -L-lstdc++ -L--no-demangle`;
if (environment.get("NO_ARCH_VARIANT", "") != "1")
dllCmd ~= `-m` ~ Vars.MODEL;
Expand Down

0 comments on commit e170ca5

Please sign in to comment.