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 59cc91dec6a16feec51c1cfc1d563b069c68c537..34ae4d7c617daf5a01f237060f2b80a9435c5a5e 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