NetBSD/lib/csu/x86_64/Makefile
fvdl 7e7bcf4bc9 Allow platforms to define __EH_FRAME_CONST. Currently "const" for x86_64,
empty for others. x86_64 (and s390, which we do not have) have .eh_frame
as a read-only section, so __EH_FRAME_BEGIN__ and the register/deregister
functions must take a const foo *.

This also fixes an ICE in gcc 3.3.1 (see gcc PR #9552)
2003-09-07 22:27:54 +00:00

7 lines
177 B
Makefile

# $NetBSD: Makefile,v 1.4 2003/09/07 22:27:55 fvdl Exp $
ELFSIZE=64
CPPFLAGS+= -I- -I${.CURDIR} -D__EH_FRAME_CONST=const
.include "${.CURDIR}/../common_elf/Makefile.inc"