Commit 537fe2d63f744e7c96ff45b60d09486a81958e06

Authored by Anthony Liguori
1 parent 3f9ac9b3

Make sure to use SDL_CFLAGS everywhere we include SDL headers

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Showing 2 changed files with 3 additions and 1 deletions
Makefile
... ... @@ -208,7 +208,7 @@ keymaps.o: keymaps.c keymaps.h
208 208  
209 209 sdl.o: sdl.c keymaps.h sdl_keysym.h
210 210  
211   -sdl.o audio/sdlaudio.o: CFLAGS += $(SDL_CFLAGS)
  211 +sdl.o audio/sdlaudio.o baum.o: CFLAGS += $(SDL_CFLAGS)
212 212  
213 213 acl.o: acl.h acl.c
214 214  
... ...
Makefile.target
... ... @@ -730,6 +730,8 @@ LDFLAGS+=-p
730 730 main.o: CFLAGS+=-p
731 731 endif
732 732  
  733 +vl.o: CFLAGS+=$(SDL_CFLAGS)
  734 +
733 735 vl.o: qemu-options.h
734 736  
735 737 monitor.o: qemu-monitor.h
... ...