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