fix compile problem brcm-2.6
[openwrt.git] / openwrt / package / dhcp-forwarder / Makefile
index f92107c..a7cb909 100644 (file)
@@ -30,6 +30,7 @@ $(PKG_BUILD_DIR)/.configured:
                  --program-prefix="" \
                  --program-suffix="" \
                  --prefix=/usr \
+                 --disable-dietlibc \
                  --exec-prefix=/usr \
                  --bindir=/usr/bin \
                  --datadir=/usr/share \
@@ -61,6 +62,6 @@ $(IPKG_DHCP_FORWARDER):
        install -m0755 -d $(IDIR_DHCP_FORWARDER)/etc/init.d
        install -m0755 ./files/dhcp-fwd.init $(IDIR_DHCP_FORWARDER)/etc/init.d/dhcp-fwd
        install -m0755 -d $(IDIR_DHCP_FORWARDER)/usr/bin
-       cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/dhcp-fwd $(IDIR_DHCP_FORWARDER)/usr/bin/
+       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/dhcp-fwd $(IDIR_DHCP_FORWARDER)/usr/bin/
        $(RSTRIP) $(IDIR_DHCP_FORWARDER)
        $(IPKG_BUILD) $(IDIR_DHCP_FORWARDER) $(PACKAGE_DIR)
This page took 0.024545 seconds and 4 git commands to generate.