Skip to content

Commit

Permalink
mesa-lib: fixing up some switches identified as depreciated in the co…
Browse files Browse the repository at this point in the history
…mpile log.
  • Loading branch information
stumbles committed Dec 9, 2017
1 parent 082fbe4 commit 395d20a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/mesa-lib/BUILD
Expand Up @@ -4,13 +4,13 @@ if [[ $GALLIUM == y ]]; then
# Mesa Gallium mklib breaks build when linker flags are set
bad_flags linker &&
OPTS+=" --with-gallium-drivers=swrast,$(echo $GALLIUMDRIVER | sed s/\ /,/g)" &&
OPTS+=" --enable-gallium-egl --enable-gallium-osmesa"
OPTS+=" --enable-egl --enable-gallium-osmesa"
else
OPTS+=" --enable-egl --enable-gallium-osmesa --with-gallium-drivers=svga,swrast"
fi &&

OPTS+=" --with-egl-platforms=drm,x11" &&
if in_depends $MODULE wayland; then
OPTS+=" --with-platforms=drm,x11" &&
if in_depends $MODULE wayland-protocols; then
OPTS+=",wayland"
fi &&

Expand Down
2 changes: 1 addition & 1 deletion lib/mesa-lib/CONFIGURE
Expand Up @@ -68,7 +68,7 @@ if [[ -z "$(get_module_config CONFIGURED)" ]]; then
message "${DEFAULT_COLOR}"
fi

mquery GALLIUM "Enable Gallium llvm renderer?" y "--enable-gallium-llvm" "--disable-gallium-llvm"
mquery GALLIUM "Enable Gallium llvm renderer?" y "--enable-llvm" "--disable-llvm"

# mquery doesn't return or set env's, so read out the result:
GALLIUM=`get_module_config GALLIUM`
Expand Down

0 comments on commit 395d20a

Please sign in to comment.