summaryrefslogtreecommitdiff
path: root/package/MesaLib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/MesaLib/Makefile')
-rw-r--r--package/MesaLib/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/MesaLib/Makefile b/package/MesaLib/Makefile
index 3ad50203f..479ad854d 100644
--- a/package/MesaLib/Makefile
+++ b/package/MesaLib/Makefile
@@ -35,6 +35,8 @@ $(eval $(call PKG_template,MESALIB_DEV,mesalib-dev,$(PKG_VERSION)-${PKG_RELEASE}
$(eval $(call PKG_template,GLXINFO,glxinfo,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_GLXINFO},${PKGSC_GLXINFO}))
$(eval $(call PKG_template,GLXGEARS,glxgears,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_GLXGEARS},${PKGSC_GLXGEARS}))
+TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
+
ifeq (${ADK_TARGET_SYSTEM_IBM_X40},y)
DRI_DRIVERS:=i915
endif