lang/perl: Build ugenerate_uudmap as a host binary
authorMarcel Denia <[email protected]>
Sat, 5 Jul 2014 03:03:25 +0000 (05:03 +0200)
committerMarcel Denia <[email protected]>
Mon, 7 Jul 2014 20:54:14 +0000 (22:54 +0200)
Signed-off-by: Marcel Denia <[email protected]>
lang/perl/Makefile

index 68a46b03af3f5feba03fe008d7ca1a7dadf52bf4..56012a4fe370c875ca9b29131442bd32c87b8850 100644 (file)
@@ -67,7 +67,9 @@ define Build/microperl/Configure
 endef
 
 define Build/microperl/Compile
-       $(MAKE) -C $(PKG_BUILD_DIR) -f Makefile.micro \
+       $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) -f Makefile.micro \
+               CC="gcc" ugenerate_uudmap
+       $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) -f Makefile.micro \
                CC="$(TARGET_CC)" OPTIMIZE="$(TARGET_CFLAGS)"
        $(INSTALL_DIR) $(PKG_INSTALL_DIR)/usr/bin/
        $(CP) $(PKG_BUILD_DIR)/microperl $(PKG_INSTALL_DIR)/usr/bin/