summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-10-31 03:21:25 +0200
committerJari Vetoniemi <mailroxas@gmail.com>2018-10-31 03:21:25 +0200
commit100bfa29bb2304e418add6f13843b1af9fa63df9 (patch)
tree92f8c31e04624e0cdf51fe9da73da8d7f5ac16b2 /Makefile
parentbfb60f640a250267e421e3f91453bdeb845288bd (diff)
support floating point encodings
added dsp.c from sndio for handling the conversions. sort of fixes mpv, still has problems due to stubbed functions though.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b53df4c..c4dddde 100644
--- a/Makefile
+++ b/Makefile
@@ -22,10 +22,11 @@ all: $(libs) $(libsymlinks) $(pkgconfigs)
m4 -DINCLUDEDIR="$(PREFIX)$(includedir)" -DLIBDIR="$(PREFIX)$(libdir)" $^ > $@
libasound.so.2.0.0: private override CPPFLAGS += -D_POSIX_SOURCE
+libasound.so.2.0.0: private override CPPFLAGS += -DBYTE_ORDER=__BYTE_ORDER -DLITTLE_ENDIAN=__LITTLE_ENDIAN -DBIG_ENDIAN=__BIG_ENDIAN
libasound.so.2.0.0: private override CFLAGS += -Wno-unused-parameter -Wno-deprecated-declarations
libasound.so.2.0.0: private override LDFLAGS += -Wl,--version-script=libasound.map -Wl,-soname,libasound.so.2
libasound.so.2.0.0: private override LDLIBS += -lsndio
-libasound.so.2.0.0: libasound.c libasound.map stubs.h symversioning-hell.h
+libasound.so.2.0.0: libasound.c dsp/dsp.c libasound.map stubs.h symversioning-hell.h
$(LINK.c) -shared $(filter %.c,$^) $(LDLIBS) -o $@
libasound.so.2: libasound.so.2.0.0