Files
oasis-linux-mirror/pkg/bc/gen.lua
T
Michael Forney 49f23a0c28 bc, bubblewrap: Avoid use of -std=c23
-std=c23 is not supported by some older compilers. I originally
switched because bc used legacy K&R-style declarations, but that
has been fixed as of 1.08.2.
2026-03-03 16:43:05 -08:00

19 lines
298 B
Lua

cflags{
'-std=c99', '-Wall', '-Wpedantic',
'-D _POSIX_C_SOURCE=200809L',
'-I $dir',
'-I $srcdir/h',
}
exe('bin/bc', [[
bc/(
main.c bc.c scan.c execute.c load.c storage.c util.c global.c
warranty.c
)
lib/number.c
]])
file('bin/bc', '755', '$outdir/bin/bc')
man{'doc/bc.1'}
fetch 'curl'