perf: fix strerror_r override detection, apparently part of tools/ relies on non...
[openwrt/svn-archive/archive.git] / package / devel / perf / Makefile
index 97eecd715d1c2bff7c783f6e330566406f469a03..e6ee62f5a215321fba373cbb84b5ed72497c7458 100644 (file)
@@ -59,7 +59,7 @@ MAKE_FLAGS = \
        prefix=/usr
 
 ifdef CONFIG_USE_MUSL
- MAKE_FLAGS += EXTRA_CFLAGS="-include $(CURDIR)/musl-compat.h -D__UCLIBC__"
+ MAKE_FLAGS += EXTRA_CFLAGS="-I$(CURDIR)/musl-include -include $(CURDIR)/musl-compat.h -D__UCLIBC__"
 endif
 
 define Build/Compile