Silence warnings generated due to `#if BUILD_Y8950'
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 3 Dec 2008 23:00:35 +0000 (23:00 +0000)
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 3 Dec 2008 23:00:35 +0000 (23:00 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5865 c046a42c-6fe2-441c-8c8c-71466251a162

Makefile.target

index b22c306..9a1f019 100644 (file)
@@ -624,6 +624,7 @@ SOUND_HW += ac97.o
 endif
 ifdef CONFIG_ADLIB
 SOUND_HW += fmopl.o adlib.o
+fmopl.o: CFLAGS := ${CFLAGS} -DBUILD_Y8950=0
 endif
 ifdef CONFIG_GUS
 SOUND_HW += gus.o gusemu_hal.o gusemu_mixer.o