On Di, 2015-03-10 at 09:54 +0000, Peter Maydell wrote: > On 10 March 2015 at 09:19, Gerd Hoffmann <kra...@redhat.com> wrote: > > Hi, > > > >> hw/display/milkymist-tmu2.o -MF hw/display/milkymist-tmu2.d -O2 > >> -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/glib-2.0 > >> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -lGL -c -o > >> hw/display/milkymist-tmu2.o > >> /home/petmay01/linaro/qemu-for-merges/hw/display/milkymist-tmu2.c > >> clang: error: -lGL: 'linker' input unused > > > > Hmm, can't see where this is coming from. Possibly it is old, just > > triggering now because the new opengl test now succeeds on macosx. > > No, this is x86/Linux clang, not OSX.
Hmm, funny my clang didn't complain. > > Can you attach the config-mak.h for this please? > > Attached. > > This bit in configure looks bogus: > > opengl_cflags="$($pkg_config --libs $opengl_pkgs) $x11_cflags" Indeed. Should be --cflags. Fixed, updated pull here: git://git.kraxel.org/qemu tags/pull-sdl-20150310-1 cheers, Gerd