>From 061fd82a233136724c3c5e591f379e58fcc5de0b Mon Sep 17 00:00:00 2001 From: Pascal Stumpf <pascal.stu...@cubes.de> Date: Mon, 24 Sep 2012 21:50:19 +0200 Subject: [PATCH] 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. --- cde/config/cf/OpenBSD.cf | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/cde/config/cf/OpenBSD.cf b/cde/config/cf/OpenBSD.cf index 163c40b..ccde1f8 100644 --- a/cde/config/cf/OpenBSD.cf +++ b/cde/config/cf/OpenBSD.cf @@ -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> -- 1.7.6 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ cdesktopenv-devel mailing list cdesktopenv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel