Add csu objects to shared libraries on OpenBSD.
This is required by recent changes to the stack protector code in gcc, generating references to __guard_local instead of __guard, defined in crtbeginS.o. This is a temporary solution; strictly speaking, we shouldn't invoke ld directly at all but use cc instead.
This commit is contained in:
committed by
Jon Trulson
parent
e7ad6b776e
commit
b61e8ebad6
@@ -1028,5 +1028,7 @@ install:: fonts.alias @@\
|
||||
#define KornShell /usr/local/bin/ksh93
|
||||
#endif
|
||||
|
||||
#define SharedLibraryLoadFlags -shared /usr/lib/crtbeginS.o /usr/lib/crtendS.o
|
||||
|
||||
/* This must come last */
|
||||
#include <bsdLib.rules>
|
||||
|
||||
Reference in New Issue
Block a user