Fix compilation, change rpl_malloc detection, closes #423
[openwrt.git] / package / socat / Makefile
index 791b71f..034a618 100644 (file)
@@ -24,6 +24,7 @@ $(PKG_BUILD_DIR)/.configured:
                CFLAGS="$(TARGET_CFLAGS)" \
                CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
                LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
+               sc_cv_termios_ispeed="no" \
                ./configure \
                        --target=$(GNU_TARGET_NAME) \
                        --host=$(GNU_TARGET_NAME) \
@@ -59,7 +60,7 @@ $(PKG_BUILD_DIR)/.built:
 
 $(IPKG_SOCAT):
        install -d -m0755 $(IDIR_SOCAT)/usr/bin
-       cp -fpR $(PKG_INSTALL_DIR)/usr/bin/socat $(IDIR_SOCAT)/usr/bin/
+       $(CP) $(PKG_INSTALL_DIR)/usr/bin/socat $(IDIR_SOCAT)/usr/bin/
        $(RSTRIP) $(IDIR_SOCAT)
        $(IPKG_BUILD) $(IDIR_SOCAT) $(PACKAGE_DIR)
 
This page took 0.022062 seconds and 4 git commands to generate.