Skip to content

Commit

Permalink
Hacks to correct linking.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvander committed Sep 11, 2014
1 parent ed081f0 commit ef1cdc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AMBuildScript
Expand Up @@ -348,6 +348,8 @@ class MMSConfig(object):
linker = make_linker(source_path, output_path)
binary.compiler.linkflags[0:0] = [binary.Dep(library, linker)]

binary.compiler.linkflags[0:0] = ['-Wl,--no-as-needed']

return binary

MMS = MMSConfig()
Expand Down
2 changes: 2 additions & 0 deletions core/metamod_oslink.cpp
Expand Up @@ -114,5 +114,7 @@ void operator delete(void * ptr) {
void operator delete[](void * ptr) {
free(ptr);
}

void *__gxx_personality_v0;
#endif

0 comments on commit ef1cdc9

Please sign in to comment.