diff options
| author | Dirk Engling <erdgeist@bauklotz.fritz.box> | 2020-10-15 16:27:49 +0200 |
|---|---|---|
| committer | Dirk Engling <erdgeist@bauklotz.fritz.box> | 2020-10-15 16:27:49 +0200 |
| commit | 9022d768021bbe15c7815cc6f8b64218b46f0e10 (patch) | |
| tree | e60ed1ea72a21b3873684a5afae67b26a798f927 /stripdown.sh | |
| parent | f02dfce6e6c34b3d8a7b8a0e784b506178e331fa (diff) | |
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 | ||
