summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-04-23 21:11:08 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-04-23 21:11:08 +0200
commit03ce0a402c543abd15d85c2cd82f2727b9daaa0a (patch)
treee0b3597c2b782d4b86bdc7513142b6a62fed45e8
parent937023be6ef8206104e6c7d82ac8312a7b988971 (diff)
target: Hint configure we don't have a select.h
People using a GNU/Linux toolchain can end up in trouble when gsmtap_util.c is including network header files. Hint autoconf that there is no sys/select.h
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 402f28a..27281de 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -41,7 +41,7 @@ shared/libosmocore/build-target:
shared/libosmocore/build-target/Makefile: shared/libosmocore/configure shared/libosmocore/build-target
cd shared/libosmocore/build-target && ../configure \
--host=$(CROSS_HOST) --disable-vty --enable-panic-infloop \
- --disable-shared --disable-talloc --disable-tests \
+ --disable-shared --disable-talloc --disable-tests ac_cv_header_sys_select_h=no \
CFLAGS="-Os -ffunction-sections -I$(TOPDIR)/target/firmware/include -nostartfiles -nodefaultlibs"
shared/libosmocore/build-target/src/.libs/libosmocore.a: shared/libosmocore/build-target/Makefile