diff options
author | tnn <tnn> | 2015-09-18 16:18:47 +0000 |
---|---|---|
committer | tnn <tnn> | 2015-09-18 16:18:47 +0000 |
commit | 61250c2158df5eac13b611d01506c52d224eb80f (patch) | |
tree | f220fa3315efb42bfd263752530bf62242f2b9be /graphics | |
parent | 1d222c27e9a22156865bae10511b453e7480a690 (diff) | |
download | pkgsrc-61250c2158df5eac13b611d01506c52d224eb80f.tar.gz |
be more conservative about where we suggest llvmpipe on Linux.
It requires newish GCC.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/MesaLib/options.mk | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/graphics/MesaLib/options.mk b/graphics/MesaLib/options.mk index 98cfd55f1bf..b612feb9400 100644 --- a/graphics/MesaLib/options.mk +++ b/graphics/MesaLib/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.40 2015/09/16 17:03:28 tnn Exp $ +# $NetBSD: options.mk,v 1.41 2015/09/18 16:18:47 tnn Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib PKG_SUPPORTED_OPTIONS= llvm dri @@ -10,9 +10,14 @@ PKG_SUGGESTED_OPTIONS= .if \ !empty(MACHINE_PLATFORM:MNetBSD-[789].*-i386) || \ !empty(MACHINE_PLATFORM:MNetBSD-[789].*-x86_64) || \ - !empty(MACHINE_PLATFORM:MNetBSD-[789].*-sparc64) || \ - !empty(MACHINE_PLATFORM:MLinux-*-i386) || \ - !empty(MACHINE_PLATFORM:MLinux-*-x86_64) + !empty(MACHINE_PLATFORM:MNetBSD-[789].*-sparc64) +PKG_SUGGESTED_OPTIONS+= llvm +.endif + +.if (!empty(MACHINE_PLATFORM:MLinux-*-i386) || \ + !empty(MACHINE_PLATFORM:MLinux-*-x86_64)) && \ + (!empty(CC_VERSION:Mgcc-4.[89].*) || \ + !empty(CC_VERSION:Mgcc-[56].*)) PKG_SUGGESTED_OPTIONS+= llvm .endif |