| Summary: | Add a section about respecting WITH_DEBUG to the Chapter 13. (Dos and Don'ts) | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | Mateusz Piotrowski <0mp> |
| Component: | Books & Articles | Assignee: | freebsd-doc (Nobody) <doc> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | --- | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Mateusz Piotrowski
2018-03-05 23:20:27 UTC
Using STRIP_CMD works just fine WITH_DEBUG. (In reply to Mathieu Arnold from comment #1) So if upstream defines "LDFLAGS = -s" I should patch it and just use STRIP_CMD, right? That makes sense. Thanks :) Still, I believe that we would benefit from a section about respecting WITH_DEBUG. A commit references this bug: Author: mat Date: Thu Apr 12 07:34:46 UTC 2018 New revision: 51550 URL: https://svnweb.freebsd.org/changeset/doc/51550 Log: Add a note about WITH_DEBUG wrt stripping elf files. PR: 226382 Reported by: Mateusz Piotrowski Sponsored by: Absolight Changes: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml |