diff options
author | tron <tron@pkgsrc.org> | 2006-06-29 16:23:08 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2006-06-29 16:23:08 +0000 |
commit | 8ff257a84812635aa822e086d5ef3e64a1ec9d7b (patch) | |
tree | 2c5b92f03e6a3c876e7df9c0961faba60e38c169 /wm | |
parent | 9280b412727fb8c97b33e76ada77adb32f95d335 (diff) | |
download | pkgsrc-8ff257a84812635aa822e086d5ef3e64a1ec9d7b.tar.gz |
Disable inline assembler if GCC 4.1.x is used to fix build problems.
Diffstat (limited to 'wm')
-rw-r--r-- | wm/windowmaker/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/wm/windowmaker/Makefile b/wm/windowmaker/Makefile index f9be9edae81..4a473a59a44 100644 --- a/wm/windowmaker/Makefile +++ b/wm/windowmaker/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.69 2006/05/30 19:49:25 reed Exp $ +# $NetBSD: Makefile,v 1.70 2006/06/29 16:23:08 tron Exp $ DISTNAME= WindowMaker-0.92.0 PKGNAME= ${DISTNAME:S/WindowMaker/windowmaker/} @@ -25,14 +25,14 @@ CONFIGURE_ARGS+= --with-gnustepdir=${PREFIX:Q}/share/GNUstep CONFIGURE_ARGS+= --with-nlsdir=${PREFIX:Q}/${PKGLOCALEDIR:Q}/locale CONFIGURE_ENV+= LINGUAS=yes CONFIGURE_ENV+= CPP_PATH=${CPP:Q} -.if ${MACHINE_ARCH} != "i386" -CONFIGURE_ENV+= ac_cv_c_inline_asm=no -.endif - REPLACE_PERL+= util/wkdemenu.pl INSTALL_TARGET= install-strip -.include "../../mk/bsd.prefs.mk" +.include "../../mk/compiler.mk" + +.if ${MACHINE_ARCH} != "i386" || !empty(CC_VERSION:Mgcc-4.1.*) +CONFIGURE_ENV+= ac_cv_c_inline_asm=no +.endif .if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32" GCC_REQD+= 3.0 |