diff options
| author | champtar <champetier.etienne@gmail.com> | 2016-08-25 09:20:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-25 09:20:59 +0200 |
| commit | dc6c28b446abf0b1e5e4e8ff81d6d99a0cfb9d8b (patch) | |
| tree | 32f551c7932b180ed36883db9f74c3cc7ef43eb6 | |
| parent | 8952b4ad62c41ccb3e704744945779e0177cd0eb (diff) | |
| parent | 2e8122cb1cf3a1d8a1af61e7d8baa40e51a6c79b (diff) | |
Merge pull request #3094 from kissg1988/seafile
seafile: add condition for -minterlink-mips16 cflag
| -rw-r--r-- | net/seafile-server/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/seafile-server/Makefile b/net/seafile-server/Makefile index 6db129948..13eb971e5 100644 --- a/net/seafile-server/Makefile +++ b/net/seafile-server/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=seafile-server PKG_VERSION:=5.1.1 -PKG_RELEASE=$(PKG_SOURCE_VERSION)-6 +PKG_RELEASE=$(PKG_SOURCE_VERSION)-7 PKG_LICENSE:=GPL-3.0 PKG_SOURCE_PROTO:=git @@ -72,7 +72,10 @@ endif PKG_BUILD_DEPENDS:=vala/host libevhtp -TARGET_CFLAGS += -minterlink-mips16 +# This is required as python-package.mk overrides the default setting of having interlinking enabled +ifdef CONFIG_USE_MIPS16 + TARGET_CFLAGS += -minterlink-mips16 +endif TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib -liconv \ -L$(STAGING_DIR)/usr/lib/mysql -lmysqlclient -lz -levent_openssl -levent |
