diff --git a/Makefile b/Makefile index 31776160c0..209b21f39f 100644 --- a/Makefile +++ b/Makefile @@ -208,7 +208,7 @@ keymaps.o: keymaps.c keymaps.h sdl.o: sdl.c keymaps.h sdl_keysym.h -sdl.o audio/sdlaudio.o: CFLAGS += $(SDL_CFLAGS) +sdl.o audio/sdlaudio.o baum.o: CFLAGS += $(SDL_CFLAGS) acl.o: acl.h acl.c diff --git a/Makefile.target b/Makefile.target index 27de4b9504..0159bf7a00 100644 --- a/Makefile.target +++ b/Makefile.target @@ -730,6 +730,8 @@ LDFLAGS+=-p main.o: CFLAGS+=-p endif +vl.o: CFLAGS+=$(SDL_CFLAGS) + vl.o: qemu-options.h monitor.o: qemu-monitor.h