1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

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:
Pascal Stumpf 2012-09-24 21:50:19 +02:00 committed by Jon Trulson
parent e7ad6b776e
commit b61e8ebad6

View file

@ -1028,5 +1028,7 @@ install:: fonts.alias @@\
#define KornShell /usr/local/bin/ksh93 #define KornShell /usr/local/bin/ksh93
#endif #endif
#define SharedLibraryLoadFlags -shared /usr/lib/crtbeginS.o /usr/lib/crtendS.o
/* This must come last */ /* This must come last */
#include <bsdLib.rules> #include <bsdLib.rules>