Commit Briefs

Omar Polo

always append -W flags to CFLAGS


Omar Polo

refactor add_{cflags,ldflags}


Omar Polo

add --enable-sandbox

patch from Anna "CyberTailor" It's handy for helpers like ebuild's use_enable. (the sandbox is still always enabled by default)


Omar Polo

check libimsg too

patch from Anna "CyberTailor"


Omar Polo

always append LDFLAGS and CFLAGS

Initial patch from Anna "CyberTailor", tweaked by me (drop guessing_* and always append CFLAGS)


Omar Polo

try to preserve as much as possible CFLAGS and LDFLAGS from env

but still try to autodetect with pkg-config if they aren't provided. Passing CFLAGS/LDFLAGS from the command line will still override the guessed ones.


Omar Polo

explain the OpenBSD bit


Omar Polo

configure: add --disable-sandbox

Calling `configure' with --disable-sandbox will disable the sandbox support *completely* at compile time. gmid will still complain at compile time and during the startup. Users shouldn't disable the sandbox if possible, but instead report problem upstream so they get fixed (hopefully.) #4 related


Omar Polo

drop the dependency on lex by implementing yylex by ourselves

The actual implementation is based off doas' parse.y. This gave us various benefits, like cleaner code, \ to break long lines, better handling of quotes etc...


Omar Polo

add compat for reallocarray




Omar Polo

tests and compat for imsg


Omar Polo

moving logging to its own process


Omar Polo

typo