Skip to content

Commit

Permalink
WIP: Firebird compilation fails in gpre SynoCommunity#5795
Browse files Browse the repository at this point in the history
Because gpre tries to compile with -march=i586, which does not support
64bit instructions.
  • Loading branch information
vitkabele committed Jul 14, 2023
1 parent dee6598 commit 388c01d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion cross/firebird/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/FirebirdSQL/firebird/archive/refs/tags/
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

# Currently v4.0.2 works only with 7.1
DEPENDS = cross/zlib cross/libicu

# archs with too old c++ compiler (c++ 11 is required)
Expand All @@ -23,12 +24,14 @@ LICENSE = MPL
GNU_CONFIGURE = 1
PRE_CONFIGURE_TARGET = firebird_pre_configure

CONFIGURE_ARGS = --with-builtin-tommath --with-builtin-tomcrypt --without-termlib --disable-binreloc
CONFIGURE_ARGS = --with-builtin-tommath --with-builtin-tomcrypt --without-termlib --disable-binreloc --without-editline
CONFIGURE_ARGS += ac_cv_func_setpgrp_void=yes
CONFIGURE_ARGS += ac_cv_sys_file_offset_bits=yes ac_cv_func_sem_init=no ac_cv_file_proc_self_exe=yes

include ../../mk/spksrc.cross-cc.mk

# TODO: libtool-bin must be installed !!

.PHONY: firebird_pre_configure
firebird_pre_configure:
$(RUN) NOCONFIGURE=true ./autogen.sh
Expand Down
4 changes: 2 additions & 2 deletions spk/firebird/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ SERVICE_WIZARD_SHARE = wizard_download_dir
SERVICE_SETUP =

# Service configuration
SERVICE_PORT = 6800
SERVICE_PORT_TITLE = Aria2 RPC
SERVICE_PORT = 3050
SERVICE_PORT_TITLE = Firebird SQL

# Admin link
ADMIN_PORT = $(SERVICE_PORT)
Expand Down

0 comments on commit 388c01d

Please sign in to comment.