1
0
mirror of https://github.com/openbsd/src.git synced 2026-04-18 03:04:40 +00:00
Files
src/gnu
jca 008d370469 Respect DEBUG so we can build perl with debug symbols
Adding -DEBUGGING in CONFIGURE_ARGS activates debug code,
-DEBUGGING=-g passes -g in CFLAGS (only -g is supported),
and -DEBUGGING=both does... both.  This is a bit confusing.
IMO DEBUG=-g should only add -g and disable executable stripping, but
not change the code that is built.  So use -Doptimize which lets us pass
arbitrary compiler flags (eg -g3), just like DEBUG does in our system
Makefiles.

Hints and ok afresh1@
2026-04-07 16:41:33 +00:00
..

$OpenBSD: README,v 1.2 2016/09/03 22:32:04 benno Exp $

This directory contains software that is Gigantic and Nasty but
Unavoidable.

Some, but not all, of the software in this subtree follows special
rules, i.e.  licences other than BSD.

So:
- check the history of external code before importing it.
- for GPL software be ready to arrange for copyright papers somewhat
in advance if you want to work on it (the FSF takes a few months to
process these).

Otherwise, changes might not make it to the main distribution, and may
need some further maintenance over time, or risk getting lost.

Some internal changes are acceptable, but OpenBSD can't afford to maintain
a complete separate toolchain on its own.