summaryrefslogtreecommitdiff
path: root/stripdown.sh
diff options
context:
space:
mode:
Diffstat (limited to 'stripdown.sh')
-rwxr-xr-xstripdown.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/stripdown.sh b/stripdown.sh
index 2e4466e..c8d8332 100755
--- a/stripdown.sh
+++ b/stripdown.sh
@@ -23,7 +23,7 @@ for file in ${LIBSRC} ${LIBINC}; do
23done 23done
24 24
25# fixup one include 25# fixup one include
26sed s:codec2/version.h:version.h: src/codec2.h > "${DESTDIR}"/codec2.h 26sed s:\<codec2/version.h\>:\"version.h\": src/codec2.h > "${DESTDIR}"/codec2.h
27 27
28cat > "${DESTDIR}"/debug_alloc.h <<'EOF' 28cat > "${DESTDIR}"/debug_alloc.h <<'EOF'
29#define FREE free 29#define FREE free
@@ -51,7 +51,7 @@ cd ..
51rm -r "${BUILDDIR}" 51rm -r "${BUILDDIR}"
52 52
53cat > "${DESTDIR}"/Makefile <<'EOF' 53cat > "${DESTDIR}"/Makefile <<'EOF'
54CFLAGS = -Wall -Wno-strict-overflow -std=gnu11 -fPIC -g -O2 -I. 54CFLAGS = -Wall -Wno-strict-overflow -std=gnu11 -fPIC -g -O2 -I. -lm
55CFLAGS += -DHORUS_L2_RX -DINTERLEAVER -DRUN_TIME_TABLES -DSCRAMBLER -Dcodec2_EXPORTS 55CFLAGS += -DHORUS_L2_RX -DINTERLEAVER -DRUN_TIME_TABLES -DSCRAMBLER -Dcodec2_EXPORTS
56CFLAGS += -Wno-incompatible-pointer-types-discards-qualifiers 56CFLAGS += -Wno-incompatible-pointer-types-discards-qualifiers
57 57