Skip to content

Commit bce84b1

Browse files
committed
s
1 parent cdcc2a2 commit bce84b1

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/scriptcheck.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
dmake:
2020
strategy:
2121
matrix:
22-
os: [macos-15]
22+
os: [ubuntu-22.04, macos-15, windows-2025]
2323
fail-fast: false
2424

2525
runs-on: ${{ matrix.os }}
@@ -31,7 +31,6 @@ jobs:
3131

3232
- name: run dmake
3333
run: |
34-
make --version
3534
make -j3 CXXOPTS="-Werror" run-dmake
3635
3736
- name: check diff

tools/dmake/dmake.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -771,8 +771,7 @@ int main(int argc, char **argv)
771771
<< " $(error invalid HAVE_RULES value '$(HAVE_RULES)')\n"
772772
<< "endif\n\n";
773773

774-
fout << "$(shell ! echo \"#include <execinfo.h>\" | $(CXX) -c -xc - 2> /dev/null)\n"
775-
<< "HAVE_EXECINFO_H=$(.SHELLSTATUS)\n"
774+
fout << "HAVE_EXECINFO_H=$(shell echo \"#include <execinfo.h>\" | $(CXX) -c -xc - 2> /dev/null && echo \"1\" || echo \"0\")\n"
776775
<< "override CPPFLAGS += -DHAVE_EXECINFO_H=$(HAVE_EXECINFO_H)\n\n";
777776

778777
fout << "override CXXFLAGS += $(CXXOPTS)\n";

0 commit comments

Comments
 (0)