Skip to content

Commit

Permalink
nm_static_opt
Browse files Browse the repository at this point in the history
  • Loading branch information
junjiemars committed Sep 9, 2024
1 parent 124f093 commit 31b91b0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions auto/cc/clang
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ nm_openmp_opt="-fopenmp"
# lib
nm_lib_opt="-l"
nm_libdir_opt="-L"
nm_static_opt="-static"

# link option
LDFLAGS="${nm_libdir_opt}${NM_OUT}/lib${LDFLAGS:+ $LDFLAGS}"
Expand Down
1 change: 1 addition & 0 deletions auto/cc/gcc
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ nm_openmp_opt="-fopenmp"
# lib
nm_lib_opt="-l"
nm_libdir_opt="-L"
nm_static_opt="-static"

# link option
LDFLAGS="${nm_libdir_opt}${NM_OUT}/lib${LDFLAGS:+ $LDFLAGS}"
Expand Down
1 change: 1 addition & 0 deletions auto/cc/msvc
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ nm_openmp_opt="-openmp"
# lib
nm_libdir_opt="-libpath:"
nm_lib_opt=
nm_static_opt="-MT"

# link option @ tail
nm_link_opt="-link"
Expand Down

0 comments on commit 31b91b0

Please sign in to comment.