Add -fno-merge-constants (as the xsrc build does too) to make the module

loader work with the gcc versions we use now. No idea why i386 apparently
was not affected by this.
This commit is contained in:
martin 2005-04-06 08:32:11 +00:00
parent e6e33f374d
commit 8a51929fe1
1 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.x11.mk,v 1.48 2005/03/26 10:31:51 martin Exp $
# $NetBSD: bsd.x11.mk,v 1.49 2005/04/06 08:32:11 martin Exp $
.include <bsd.init.mk>
@ -76,7 +76,8 @@ X11FLAGS.EXTENSION+= -D__GLX_ALIGN64
${MACHINE} == "sgimips" || \
${MACHINE} == "sparc64"
# LOADABLE
X11FLAGS.LOADABLE= -DXFree86LOADER -DIN_MODULE -DXFree86Module
X11FLAGS.LOADABLE= -DXFree86LOADER -DIN_MODULE -DXFree86Module \
-fno-merge-constants
.endif
# Extract X11VERSION