diff options
author | minskim <minskim@pkgsrc.org> | 2007-06-21 00:58:04 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2007-06-21 00:58:04 +0000 |
commit | 6a12dd1538c74616aedd900e7812137dde22a59e (patch) | |
tree | 644a4b2f115627637864f3b73e4ea91275b4b445 /wm/windowmaker/hacks.mk | |
parent | 81862f0b41a1ac488fc789fac10c5ceeafd14380 (diff) | |
download | pkgsrc-6a12dd1538c74616aedd900e7812137dde22a59e.tar.gz |
If gcc-4 is used, disable inline assembly until GCC Bug #25221 is fixed.
Previously, it was done in Makefile for gcc-4.1 only. Now it covers
gcc-4.0.* and is located in the proper place (hacks.mk).
This fixes PR 36460.
Diffstat (limited to 'wm/windowmaker/hacks.mk')
-rw-r--r-- | wm/windowmaker/hacks.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/wm/windowmaker/hacks.mk b/wm/windowmaker/hacks.mk new file mode 100644 index 00000000000..a688966805d --- /dev/null +++ b/wm/windowmaker/hacks.mk @@ -0,0 +1,7 @@ +# $NetBSD: hacks.mk,v 1.1 2007/06/21 00:58:04 minskim Exp $ + +# Disable inline assembly on i386 until GCC Bug #25221 is fixed. +# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25221 +.if !empty(CC_VERSION:Mgcc-4.*) +CONFIGURE_ENV+= ac_cv_c_inline_asm=no +.endif |