pkgsrc/wm/windowmaker/hacks.mk
minskim 6a12dd1538 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.
2007-06-21 00:58:04 +00:00

7 lines
255 B
Makefile

# $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