Skip to content

Commit

Permalink
disable eventfd to make libzmq working on GLIBC_2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
chrox committed Jan 19, 2015
1 parent 4e9b3bc commit 7221107
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -430,6 +430,7 @@ $(ZMQ_LIB):
LDFLAGS="$(LDFLAGS)" \
libzmq_have_xmlto=no libzmq_have_asciidoc=no \
../configure -q --prefix=$(CURDIR)/$(ZMQ_DIR)/build \
$(if $(POCKETBOOK),--disable-eventfd,) \
--disable-static --enable-shared \
--host=$(CHOST)
-$(MAKE) -j$(PROCESSORS) -C $(ZMQ_DIR)/build --silent uninstall
Expand Down
2 changes: 2 additions & 0 deletions Makefile.defs
Expand Up @@ -114,6 +114,8 @@ BASE_CFLAGS:=-O2 -ffast-math -pipe -fomit-frame-pointer
## no-use-cxa-atexit is to get rid of cxa_atexit
#
# FIXME: If we cared, we'd probably need to do something to convince libzmq not to enable support for eventfd [@GLIBC_2.7]
# FIXED: To cross compile libzmq for GLIBC_2.4 you need to configure with the option '--disable-eventfd'
#
MG2K12_COMPAT_CFLAGS:=-fno-stack-protector -U_FORTIFY_SOURCE -D_GNU_SOURCE -fno-finite-math-only
MG2K12_COMPAT_CXXFLAGS:=-fno-use-cxa-atexit

Expand Down

0 comments on commit 7221107

Please sign in to comment.