|
@@ -56,13 +56,16 @@ XSERVER_XORG_SERVER_DEPENDENCIES = \
|
|
|
mcookie \
|
|
|
host-pkgconf
|
|
|
|
|
|
+# We force -O2 regardless of the optimization level chosen by the
|
|
|
+# user, as the X.org server is known to trigger some compiler bugs at
|
|
|
+# -Os on several architectures.
|
|
|
XSERVER_XORG_SERVER_CONF_OPTS = \
|
|
|
--disable-config-hal \
|
|
|
--disable-xnest \
|
|
|
--disable-xephyr \
|
|
|
--disable-dmx \
|
|
|
--with-builder-addr=buildroot@buildroot.org \
|
|
|
- CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/pixman-1" \
|
|
|
+ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/pixman-1 -O2" \
|
|
|
--with-fontrootdir=/usr/share/fonts/X11/ \
|
|
|
--$(if $(BR2_PACKAGE_XSERVER_XORG_SERVER_XVFB),en,dis)able-xvfb
|
|
|
|