aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/libiconv-full/Makefile
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-11-25 16:45:56 -0800
committerPaul Spooren <mail@aparcar.org>2020-11-26 13:09:32 -1000
commit8a87ab43d190622a1b8b64af6fd812dd33a329d4 (patch)
treedf057cd20b0b83152434d4eba836f199c0d47240 /package/libs/libiconv-full/Makefile
parent75063b941bd224ecc68412a97bf05ab797ecd19f (diff)
downloadupstream-8a87ab43d190622a1b8b64af6fd812dd33a329d4.tar.gz
upstream-8a87ab43d190622a1b8b64af6fd812dd33a329d4.tar.bz2
upstream-8a87ab43d190622a1b8b64af6fd812dd33a329d4.zip
libiconv-full: Makefile polishing
Added PKG_INSTALL to avoid using an explicit define Build/Compile Added PKG_BUILD_PARALLEL for faster compilation. Removed TARGET_CLAFGS. They are no longer necessary. fPIC is default now. So is gnu99. -DUSE_DOS is a hack to include old and mostly unused conversions. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'package/libs/libiconv-full/Makefile')
-rw-r--r--package/libs/libiconv-full/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/package/libs/libiconv-full/Makefile b/package/libs/libiconv-full/Makefile
index 85495fbf91..e4f925a1ae 100644
--- a/package/libs/libiconv-full/Makefile
+++ b/package/libs/libiconv-full/Makefile
@@ -21,6 +21,8 @@ PKG_LICENSE:=LGPL-2.1-or-later
PKG_LICENSE_FILES:=COPYING.LIB
PKG_FIXUP:=patch-libtool
+PKG_INSTALL:=1
+PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
@@ -53,21 +55,12 @@ define Package/iconv
TITLE+= utility
endef
-TARGET_CFLAGS += $(FPIC) -DUSE_DOS -std=gnu89
-
CONFIGURE_ARGS += \
--enable-shared \
--enable-static \
--disable-rpath \
--enable-relocatable
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)" \
- DESTDIR="$(PKG_INSTALL_DIR)" \
- install
-endef
-
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/lib/libiconv-full/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/iconv.h $(1)/usr/lib/libiconv-full/include/