[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/s/openbsd.h,v
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] Changes to emacs/src/s/openbsd.h,v |
Date: |
Wed, 22 Nov 2006 15:17:47 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Chong Yidong <cyd> 06/11/22 15:17:47
Index: openbsd.h
===================================================================
RCS file: /cvsroot/emacs/emacs/src/s/openbsd.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- openbsd.h 30 Oct 2006 23:05:35 -0000 1.8
+++ openbsd.h 22 Nov 2006 15:17:47 -0000 1.9
@@ -21,13 +21,18 @@
#undef LD_SWITCH_SYSTEM
#ifdef __ELF__
-/* Han Boetes <address@hidden> says this
+ /* Han Boetes <address@hidden> says this
is necessary, otherwise Emacs dumps core on elf systems. */
-#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z -L/usr/pkg/lib
-L/usr/local/lib
+#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z
+
+/* The version of gcc on OpenBSD doesn't search /usr/local/lib by
+ default. */
+#define LD_SWITCH_X_DEFAULT -L/usr/local/lib
#else
-#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -L/usr/pkg/lib -L/usr/local/lib
+#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp
+#define LD_SWITCH_X_DEFAULT -L/usr/local/lib
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/s/openbsd.h,v,
Chong Yidong <=