mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 16:43:03 +01:00
Try to fix build on linux/arm32 (attempt 2)
This commit is contained in:
parent
4511be5f60
commit
68a740e25a
@ -443,3 +443,5 @@ FIREBIRD_MSG = $(FIREBIRD)/firebird.msg
|
||||
PLATFORM_PATH = os/posix
|
||||
TRACE_OS_Sources =
|
||||
|
||||
# Atomics
|
||||
ATOMICLIB=
|
||||
|
@ -20,7 +20,8 @@
|
||||
|
||||
#LD=@CXX@
|
||||
|
||||
COMMON_FLAGS=-DLINUX -DARM -pipe -MMD -fPIC -fsigned-char -fmessage-length=0 -DFB_SEND_FLAGS=MSG_NOSIGNAL -latomic
|
||||
COMMON_FLAGS=-DLINUX -DARM -pipe -MMD -fPIC -fsigned-char -fmessage-length=0 -DFB_SEND_FLAGS=MSG_NOSIGNAL
|
||||
|
||||
PROD_FLAGS=$(COMMON_FLAGS) -O3
|
||||
DEV_FLAGS=$(COMMON_FLAGS) -p -ggdb -Werror=delete-incomplete -Wall -Wno-non-virtual-dtor
|
||||
ATOMICLIB=atomic
|
||||
|
@ -1039,6 +1039,9 @@ dnl Check for libraries
|
||||
AC_SEARCH_LIBS(dlopen, dl)
|
||||
AC_CHECK_LIB(m, main)
|
||||
AC_SEARCH_LIBS(inet_aton, resolv)
|
||||
if test "$ATOMICLIB"; then
|
||||
AC_CHECK_LIB($ATOMICLIB, main)
|
||||
fi
|
||||
|
||||
dnl Check for libraries for static C++ runtime linking
|
||||
AC_CHECK_LIB(supc++, main, XE_APPEND(-lsupc++, STATIC_CXXSUPPORT_LIB))
|
||||
|
Loading…
Reference in New Issue
Block a user