From 31f622baab7948f471bfa9676ffabe75eeecd772 Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Mon, 6 May 2024 11:48:04 +1000 Subject: [PATCH] t/porting/cpphdrcheck.t: actually use ccflags --- t/porting/cpphdrcheck.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/porting/cpphdrcheck.t b/t/porting/cpphdrcheck.t index a07b2df5a1c5..04682f126f76 100644 --- a/t/porting/cpphdrcheck.t +++ b/t/porting/cpphdrcheck.t @@ -47,7 +47,7 @@ my $ccflags = $Config{ccflags}; # we add a similar C++ -std $ccflags =~ s/-std[:=]\S+//; -$ccflags = join " ", map { "-I$_" } +$ccflags .= " " . join " ", map { "-I$_" } File::Spec->catdir($cwd, ".."), # win32 has special config.h handling during the build File::Spec->catdir($cwd, "..", "lib", "CORE");