mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
fix(strace)
This commit is contained in:
parent
39ccaf08eb
commit
8dd49c7883
1 changed files with 13 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue