aboutsummaryrefslogtreecommitdiff
path: root/.builds/openbsd.yml
diff options
context:
space:
mode:
Diffstat (limited to '.builds/openbsd.yml')
-rw-r--r--.builds/openbsd.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.builds/openbsd.yml b/.builds/openbsd.yml
index 508c8ca..77d0d94 100644
--- a/.builds/openbsd.yml
+++ b/.builds/openbsd.yml
@@ -7,11 +7,11 @@ packages:
environment:
PATH: $HOME/qbe/obj:$PATH
tasks:
+- setup: |
+ # avoid __asm__ on non __GNUC__ compilers
+ patch -d /usr/include/amd64 < cc/.builds/openbsd.diff
- build: |
gmake -C qbe
cd cc
./configure
- make all check
- # OpenBSD support is not quite there (#53), so just build hello world
- ./cc -o hello test/hello.c
- ./hello
+ make all check bootstrap