Mesa: fix stripping out *FLAGS options

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-28 17:33:30 +01:00
parent 81882a0db8
commit 372d2bb6e1

View File

@ -10,8 +10,8 @@ get_graphicdrivers
strip_lto # Mesa fails to build with LTO optimization
# dont use strip or ggdb because of use from mklib
LDFLAGS=`echo $LDFLAGS | sed -e "s|-s||"`
LDFLAGS=`echo $LDFLAGS | sed -e "s|-ggdb||"`
LDFLAGS=`echo $LDFLAGS | sed -e "s|-s | |"`
LDFLAGS=`echo $LDFLAGS | sed -e "s|-ggdb | |"`
MESA_CONFIG=" --disable-gallium --disable-gallium-nouveau --disable-gallium-i915 --disable-gallium-i965"
MESA_CONFIG="$MESA_CONFIG --disable-gallium-radeon --disable-gallium-r600 --disable-gallium-svga --disable-gallium-swrast"