diff options
Diffstat (limited to 'stripdown.sh')
-rwxr-xr-x | stripdown.sh | 4 |
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 | |||
23 | done | 23 | done |
24 | 24 | ||
25 | # fixup one include | 25 | # fixup one include |
26 | sed s:codec2/version.h:version.h: src/codec2.h > "${DESTDIR}"/codec2.h | 26 | sed s:\<codec2/version.h\>:\"version.h\": src/codec2.h > "${DESTDIR}"/codec2.h |
27 | 27 | ||
28 | cat > "${DESTDIR}"/debug_alloc.h <<'EOF' | 28 | cat > "${DESTDIR}"/debug_alloc.h <<'EOF' |
29 | #define FREE free | 29 | #define FREE free |
@@ -51,7 +51,7 @@ cd .. | |||
51 | rm -r "${BUILDDIR}" | 51 | rm -r "${BUILDDIR}" |
52 | 52 | ||
53 | cat > "${DESTDIR}"/Makefile <<'EOF' | 53 | cat > "${DESTDIR}"/Makefile <<'EOF' |
54 | CFLAGS = -Wall -Wno-strict-overflow -std=gnu11 -fPIC -g -O2 -I. | 54 | CFLAGS = -Wall -Wno-strict-overflow -std=gnu11 -fPIC -g -O2 -I. -lm |
55 | CFLAGS += -DHORUS_L2_RX -DINTERLEAVER -DRUN_TIME_TABLES -DSCRAMBLER -Dcodec2_EXPORTS | 55 | CFLAGS += -DHORUS_L2_RX -DINTERLEAVER -DRUN_TIME_TABLES -DSCRAMBLER -Dcodec2_EXPORTS |
56 | CFLAGS += -Wno-incompatible-pointer-types-discards-qualifiers | 56 | CFLAGS += -Wno-incompatible-pointer-types-discards-qualifiers |
57 | 57 | ||