8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 09:20:39 +01:00

Fixed CORE-6061: Building with --with-builtin-tommath doesn't work

This commit is contained in:
Alex Peshkoff 2019-06-14 11:03:41 +03:00
parent 3ca8de9e6a
commit a021ed4418

View File

@ -72,6 +72,10 @@ else
GCC=gcc
endif
ifeq ($(TOMMATH_BUILD_FLG),Y)
TOM2TOM_FLAGS=-I../libtommath
endif
.PHONY: master_process cross_process firebird Debug Release external
all: firebird
@ -150,7 +154,7 @@ ifeq ($(TOMMATH_BUILD_FLG),Y)
endif
ifeq ($(TOMCRYPT_BUILD_FLG),Y)
CFLAGS="$(CFLAGS)" $(MAKE) -C $(ROOT)/extern/libtomcrypt -f makefile.shared GCC=$(GCC)
CFLAGS="$(CFLAGS) $(TOM2TOM_FLAGS)" $(MAKE) -C $(ROOT)/extern/libtomcrypt -f makefile.shared GCC=$(GCC)
ln -sf $(TOMCRYPT_SO).$(TOMCRYPT_VER) $(LIB)
ln -sf $(TOMCRYPT_SO) $(LIB)
endif