AUDIO_PT is not needed
AUDIO_PT only changes LDFLAGS to include -pthread, but it change it in
Makefile, and audio files are linked only on Makefile.target
Signed-off-by: Juan Quintela <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
Message-Id:
diff --git a/Makefile b/Makefile
index 01331f6..11decdb 100644
--- a/Makefile
+++ b/Makefile
@@ -95,21 +95,13 @@
obj-$(CONFIG_WIN32) += tap-win32.o
obj-$(CONFIG_POSIX) += migration-exec.o
-ifdef CONFIG_COREAUDIO
-AUDIO_PT = y
-endif
audio/audio.o audio/fmodaudio.o: QEMU_CFLAGS += $(FMOD_CFLAGS)
ifdef CONFIG_ESD
-AUDIO_PT = y
AUDIO_PT_INT = y
endif
ifdef CONFIG_PA
-AUDIO_PT = y
AUDIO_PT_INT = y
endif
-ifdef AUDIO_PT
-LDFLAGS += -pthread
-endif
audio-obj-y = audio.o noaudio.o wavaudio.o mixeng.o
audio-obj-$(CONFIG_SDL) += sdlaudio.o