popt: Use modern toolchain logic
authorDaniel Engberg <daniel.engberg.lists@pyret.net>
Sun, 24 Feb 2019 07:08:14 +0000 (08:08 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 26 Feb 2019 22:20:04 +0000 (23:20 +0100)
Replace define Build/Configure with CONFIGURE_ARGS

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
package/libs/popt/Makefile

index 59cc91d..34ae4d7 100644 (file)
@@ -37,12 +37,7 @@ define Package/libpopt
   ABI_VERSION:=0
 endef
 
-define Build/Configure
-       $(call Build/Configure/Default, \
-               --enable-shared \
-               --enable-static \
-       )
-endef
+CONFIGURE_ARGS += --enable-shared --enable-static
 
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include