uClibc: enable xattr support to make feature sets of libc implementations closer...
[openwrt/.git] / package / devel / perf / Makefile
index 7cf504cedbc7db7de51660e9cada617f1d4fe7fc..b77e29a666782da23d159c330f35f71bd9d84ea4 100644 (file)
@@ -33,7 +33,7 @@ endef
 # Linux sources directory
 define Build/Prepare
        $(RM) -r $(PKG_BUILD_DIR)
-       ln -s $(LINUX_DIR)/tools/perf $(PKG_BUILD_DIR)
+       $(LN) $(LINUX_DIR)/tools/perf $(PKG_BUILD_DIR)
 endef
 
 # MAKE_FLAGS should be passed again upon cleaning because Perf's makefile
@@ -55,6 +55,7 @@ MAKE_FLAGS = \
        LD="$(TARGET_CROSS)ld" \
        CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
        LDFLAGS="$(TARGET_LDFLAGS)" \
+       WERROR=0 \
        V=1 \
        prefix=/usr