view src/s/openbsd.h @ 52304:3a2b9cb0273b

Added ld-script.el.
author Masatake YAMATO <jet@gyve.org>
date Sun, 24 Aug 2003 09:44:38 +0000
parents 64835b08503d
children 695cf19ef79e
line wrap: on
line source

/* s/ file for openbsd systems.  */

/* Mostly the same as NetBSD.  */
#include "netbsd.h"

/*  David Mazieres <dm@reeducation-labor.lcs.mit.edu> says this
    is necessary.  Otherwise Emacs dumps core when run -nw.  */
#undef LIBS_TERMCAP

#define TERMINFO
#define LIBS_TERMCAP -lncurses

#undef LD_SWITCH_SYSTEM_TEMACS
#undef LD_SWITCH_SYSTEM
#ifdef __ELF__

/*  Han Boetes <han@mijncomputer.nl> says this
    is necessary,  otherwise Emacs dumps core on elf systems.  */
#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z

#else

#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp

#endif