1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00
freebsd/compile_flags.txt
Stefan Eßer 54d20d67e2 vendor/bc: upgrade to version 7.0.0
This is a production release to fix three bugs, none of which
affects well formed scripts on FreeBSD:

The first bug is that bc/dc will exit on macOS when the terminal
is resized.

The second bug is that an array, which should only be a function
parameter, was accepted as part of larger expressions.

The third bug is that the value stack for dc was cleared on any error.
However, this is not how other dc behave. To bring dc more in line
with other implementations, this behavior was changed. This change is
why this version is a new major version.
2024-08-23 18:45:58 +02:00

17 lines
281 B
Plaintext

-Weverything
-pedantic
-Wno-unsafe-buffer-usage
-D_POSIX_C_SOURCE=200809L
-D_XOPEN_SOURCE=700
-D_BSD_SOURCE
-D_GNU_SOURCE
-D_DEFAULT_SOURCE
-Iinclude/
-DBC_DEBUG=1
-DBC_ENABLED=1
-DDC_ENABLED=1
-DBC_ENABLE_EXTRA_MATH=1
-DBC_ENABLE_HISTORY=1
-DBC_ENABLE_NLS=1
-DBC_ENABLE_OSSFUZZ=0