package/x11r7/xdriver_xf86-video-intel: use -O2 build optimisation level
PATCH 1/1 package/x11r7/xdriver_xf86-video-intel: use -O2 build optimisation level
Reported by Gustavo:
http://lists.busybox.net/pipermail/buildroot/2016-August/169959.html
The fix was suggested on the Gentoo bugtracker:
https://bugs.gentoo.org/show_bug.cgi?id=582910#c4
--- package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk +4 -2
@@ -10,9 +10,11 @@ XDRIVER_XF86_VIDEO_INTEL_LICENSE = MIT XDRIVER_XF86_VIDEO_INTEL_LICENSE_FILES = COPYING XDRIVER_XF86_VIDEO_INTEL_AUTORECONF = YES -# this fixes a getline-related compilation error in src/sna/kgem.c +# -D_GNU_SOURCE fixes a getline-related compile error in src/sna/kgem.c +# We force -O2 regardless of the optimization level chosen by the user, +# as compiling this package is known to be broken with -Os. XDRIVER_XF86_VIDEO_INTEL_CONF_ENV = \ - CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" + CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE -O2" XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS = \ --disable-xvmc \
Signature · 1 line
2.8.1
PATCH 1/1 package/x11r7/xdriver_xf86-video-intel: use -O2 build optimisation level
Quoted 7 lines · Bernd Kuhls
Reported by Gustavo:
http://lists.busybox.net/pipermail/buildroot/2016-August/169959.htmlThe fix was suggested on the Gentoo bugtracker:
https://bugs.gentoo.org/show_bug.cgi?id=582910#c4Signed-off-by Bernd Kuhls <[email protected]>
Thomas Petazzoni
AppliedPATCH 1/1 package/x11r7/xdriver_xf86-video-intel: use -O2 build optimisation level
In reply to Bernd KuhlsHello,
Quoted 10 lines · Bernd Kuhls
Reported by Gustavo:
http://lists.busybox.net/pipermail/buildroot/2016-August/169959.htmlThe fix was suggested on the Gentoo bugtracker:
https://bugs.gentoo.org/show_bug.cgi?id=582910#c4Signed-off-by Bernd Kuhls <[email protected]>--- package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com