mirror of https://gerrit.osmocom.org/libosmocore
Revert "Introduce build script for arm-none-eabi cross-compilations"
"--enable-sanitize" does not work on jenkins build slave (debian8), although it worked out locally for me.
Following patch will introduce corrected arm build script without "--enable-sanitize" option:
https://gerrit.osmocom.org/#/c/2742/
This reverts commit ba58167e1b
.
Change-Id: I644114679db1394e75ff12b0203ae8e568aff82c
This commit is contained in:
parent
ba58167e1b
commit
2d899a0157
|
@ -1,33 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -ex
|
||||
|
||||
./contrib/verify_value_string_arrays_are_terminated.py $(find . -name "*.[hc]")
|
||||
|
||||
autoreconf --install --force
|
||||
./configure --enable-static --enable-sanitize \
|
||||
--prefix=/usr/local/arm-none-eabi \
|
||||
--host=arm-none-eabi \
|
||||
--enable-embedded \
|
||||
--disable-shared \
|
||||
CFLAGS="-Os -ffunction-sections -fdata-sections -nostartfiles -nodefaultlibs"
|
||||
|
||||
$MAKE $PARALLEL_MAKE \
|
||||
|| cat-testlogs.sh
|
||||
|
||||
# verify build in dir other than source tree
|
||||
rm -rf *
|
||||
git checkout .
|
||||
autoreconf --install --force
|
||||
mkdir builddir
|
||||
cd builddir
|
||||
|
||||
../configure --enable-static \
|
||||
--prefix=/usr/local/arm-none-eabi \
|
||||
--host=arm-none-eabi \
|
||||
--enable-embedded \
|
||||
--disable-shared \
|
||||
CFLAGS="-Os -ffunction-sections -fdata-sections -nostartfiles -nodefaultlibs"
|
||||
|
||||
$MAKE $PARALLEL_MAKE \
|
||||
|| cat-testlogs.sh
|
Loading…
Reference in New Issue