tools/build: drop slang include path in test-all
PATCH RESEND 1/1 tools/build: drop slang include path in test-all
Commit cbefd24f0aee3 ("tools build: Add test to check if slang.h is in /usr/include/slang/") added a proper test to check whether slang.h is in a subdirectory, and commit 1955c8cf5e26b ("perf tools: Don't hardcode host include path for libslang") removed the include path for test-libslang.bin but missed test-all.bin. Apply the same change to test-all.bin.
---
Resending as linux-perf-users wasn't included last time. MAINTAINERS doesn't include any entries covering this file.
tools/build/feature/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/build/feature/Makefile +1 -1
@@ -91,7 +91,7 @@ __BUILDXX = $(CXX) $(CXXFLAGS) -MD -Wall -Werror -o $@ $(patsubst %.bin,%.cpp,$( ############################### $(OUTPUT)test-all.bin: - $(BUILD) -fstack-protector-all -O2 -D_FORTIFY_SOURCE=2 -ldw -lelf -lnuma -lelf -I/usr/include/slang -lslang $(FLAGS_PERL_EMBED) $(FLAGS_PYTHON_EMBED) -DPACKAGE='"perf"' -lbfd -ldl -lz -llzma -lzstd -lcap + $(BUILD) -fstack-protector-all -O2 -D_FORTIFY_SOURCE=2 -ldw -lelf -lnuma -lelf -lslang $(FLAGS_PERL_EMBED) $(FLAGS_PYTHON_EMBED) -DPACKAGE='"perf"' -lbfd -ldl -lz -llzma -lzstd -lcap $(OUTPUT)test-hello.bin: $(BUILD)
Signature · 1 line
2.33.1
Quoted 9 lines · John Keeping
Commit
cbefd24f0aee3("tools build: Add test to check ifslang.his in/usr/include/slang/") added a proper test to check whetherslang.his in a subdirectory, and commit1955c8cf5e26b("perf tools: Don't hardcode host include path for libslang") removed the include path for test-libslang.bin but missed test-all.bin. Apply the same change to test-all.bin.Fixes 1955c8cf5e26 ("perf tools: Don't hardcode host include path for libslang")Signed-off-by John Keeping <[email protected]>
Signature · 1 line
Florian
Arnaldo Carvalho de Melo
AppliedEm Mon, Oct 25, 2021 at 10:45:17AM -0700, Florian Fainelli escreveu:
Quoted 8 lines · John Keeping
Quoted 7 lines
Commit
cbefd24f0aee3("tools build: Add test to check ifslang.his in/usr/include/slang/") added a proper test to check whetherslang.his in a subdirectory, and commit1955c8cf5e26b("perf tools: Don't hardcode host include path for libslang") removed the include path for test-libslang.bin but missed test-all.bin. Apply the same change to test-all.bin.
Quoted 4 lines
Quoted 2 lines
Fixes 1955c8cf5e26 ("perf tools: Don't hardcode host include path for libslang")Signed-off-by John Keeping <[email protected]>Reviewed-by Florian Fainelli <[email protected]>
Thanks, applied.
- Arnaldo