Skip to content

Commit

Permalink
mk: add slmagic pro patch (not open source)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Oct 7, 2024
1 parent d1e7b92 commit c7dfaa3
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
.PHONY: build
build: external
@[ -f "build/build.ninja" ] || cmake -B build -G Ninja -DUSE_TRACE=ON \
-DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS="-gdwarf-4 -g3 -DJBUF_STAT -DRE_RTP_PCAP"
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_C_FLAGS="-gdwarf-4 -g3 -DJBUF_STAT -DRE_RTP_PCAP"
@cmake --build build --parallel

.PHONY: webui
Expand All @@ -32,6 +33,9 @@ systemd: external
-DCMAKE_C_FLAGS="-g -DJBUF_STAT" -DUSE_SD_SOCK=ON
make build

.PHONY: systemd_pro
systemd_pro: external_pro systemd

.PHONY: unix
unix: external
make clean
Expand All @@ -48,6 +52,11 @@ external:
cd external/re && \
patch -p1 < ../../patches/re_aubuf_timestamp_order_fix.patch

.PHONY: external_pro
external_pro: external
cd external/baresip && \
patch -p1 < ../../../mix_pro/patches/slmagic.diff

##############################################################################
#
# Sanitizers
Expand Down

0 comments on commit c7dfaa3

Please sign in to comment.