xorg-server: dont build with -O3

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-03-30 21:46:55 +02:00
parent 9171d3beb5
commit 8a2f18bd41

View File

@ -38,10 +38,10 @@ else
XORG_XINERAMA="--disable-xinerama"
fi
cd $PKG_BUILD
# hack to prevent a build error
CFLAGS=`echo $CFLAGS | sed -e "s|-O3|-O2|" -e "s|-Ofast|-O2|"`
# add hack to fix build of 1.10.0
rm -rf hw/xfree86/loader/sdksyms.c
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \