diff options
| author | Jiri Slachta | 2020-04-27 16:43:30 +0000 |
|---|---|---|
| committer | GitHub | 2020-04-27 16:43:30 +0000 |
| commit | e9a8c364071f022373c4f92e551e36a035d04ef9 (patch) | |
| tree | 9c7d9298c91833e8eb4e72ba51b7032977a60a9c | |
| parent | 3e8a75a62229df738f77941ad38a46f2da907065 (diff) | |
| parent | 18ab4c3987db6bf216b32f5510f44a738ddac1b7 (diff) | |
| download | telephony-e9a8c364071f022373c4f92e551e36a035d04ef9.tar.gz | |
Merge pull request #525 from micmac1/master-kam-funroll
kamailio-5.x: remove "-funroll-loops"
| -rw-r--r-- | net/kamailio-5.x/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/net/kamailio-5.x/Makefile b/net/kamailio-5.x/Makefile index de87750..eeb5e51 100644 --- a/net/kamailio-5.x/Makefile +++ b/net/kamailio-5.x/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=kamailio5 PKG_VERSION:=5.3.3 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE_URL:=https://www.kamailio.org/pub/kamailio/$(PKG_VERSION)/src PKG_SOURCE:=kamailio-$(PKG_VERSION)$(PKG_VARIANT)_src.tar.gz @@ -425,6 +425,13 @@ MAKE_FLAGS += \ MAKE_VARS += \ PYTHON3=python$(PYTHON3_VERSION) +define Build/Prepare + $(call Build/Prepare/Default) + # Upstream adds "-funroll-loops" to compiler flags, which increases + # binary size significantly. Remove this flag. + $(SED) 's/[ ]*-funroll-loops//' $(PKG_BUILD_DIR)/src/Makefile.defs +endef + define Build/Configure endef |