fix(strace)

This commit is contained in:
Jacob Heider 2023-04-19 02:33:39 -04:00
parent 39ccaf08eb
commit 8dd49c7883
No known key found for this signature in database
GPG key ID: 59D15ADC7DCD39BB

View file

@ -10,6 +10,12 @@ build:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
script: |
if test "{{hw.platform}}" = "darwin"; then
mkdir -p "{{prefix}}"
touch "{{prefix}}/linux-only.h"
exit 0
fi
./configure $ARGS
make --jobs {{hw.concurrency}} install
env:
@ -21,7 +27,11 @@ build:
- --disable-gcc-Werror
provides:
darwin: []
linux:
- bin/strace
test:
test: |
if test "{{hw.platform}}" = "linux"; then
strace true 2>&1
fi