muon-build / muon

An implementation of the meson build system in c99
https://muon.build
GNU General Public License v3.0
172 stars 14 forks source link

Bootstrap failed on FreeBSD #60

Open Curculigo opened 3 months ago

Curculigo commented 3 months ago
$ ./bootstrap.sh buildmuon
+ dir=buildmuon
+ mkdir -p buildmuon
+ pkgconf_cmd=''
+ command -v pkgconf
+ pkgconf_cmd=pkgconf
+ [ -n pkgconf ]
+ pkgconf libpkgconf
+ pkgconf_src=libpkgconf.c
+ pkgconf --cflags libpkgconf
+ pkgconf_cflags='-I/usr/local/include/pkgconf -DBOOTSTRAP_HAVE_LIBPKGCONF'
+ pkgconf --libs libpkgconf
+ pkgconf_libs='-L/usr/local/lib -lpkgconf'
+ c99 -Iinclude -I/usr/local/include/pkgconf -DBOOTSTRAP_HAVE_LIBPKGCONF src/amalgam.c -L/usr/local/lib -lpkgconf -o buildmuon/muon
In file included from src/amalgam.c:128:
src/platform/posix/init.c:30:16: error: use of undeclared identifier 'SA_SIGINFO'
   30 |                         .sa_flags = SA_SIGINFO,
      |                                     ^
1 error generated.
kzc commented 3 months ago

Does this work?

CFLAGS=-D_XOPEN_SOURCE=700 ./bootstrap.sh build
CFLAGS=-D_XOPEN_SOURCE=700 build/muon setup build
# build/muon -C build samu
build/muon -C build test
Curculigo commented 3 months ago

Does this work?

CFLAGS=-D_XOPEN_SOURCE=700 ./bootstrap.sh build
CFLAGS=-D_XOPEN_SOURCE=700 build/muon setup build
# build/muon -C build samu
build/muon -C build test

Yes, it works. Thank you.