Bug 205036

Summary: [PATCH][build] remove redundant check of the DEBUG_FLAGS in bsd.prog.mk
Product: Base System Reporter: Alexander Kuleshov <kuleshovmail>
Component: miscAssignee: Mateusz Piotrowski <0mp>
Status: Closed Not Accepted    
Severity: Affects Only Me CC: 0mp, cuxomihapu, jokebos, kuleshovmail, sjg, vocok, wuninaz
Priority: --- Keywords: patch
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Remove redundant check of the DEBUG_FLAGS none

Description Alexander Kuleshov 2015-12-05 13:12:14 UTC
Created attachment 163866 [details]
Remove redundant check of the DEBUG_FLAGS

Hello,

This patch removes redundant check of the DEBUG_FLAGS in the bsd.prog.mk. We already check it above in the same file, so we no need to check it again.
Comment 1 kate john 2017-08-18 08:03:09 UTC
MARKED AS SPAM
Comment 2 Dhruv Day 2018-12-27 04:30:30 UTC
MARKED AS SPAM
Comment 3 KuchJano 2019-02-02 06:36:22 UTC
MARKED AS SPAM
Comment 4 manan 2019-02-08 18:06:38 UTC
MARKED AS SPAM
Comment 5 vocok 2019-02-12 18:58:32 UTC
MARKED AS SPAM
Comment 6 wuninaz 2019-02-19 09:59:24 UTC
MARKED AS SPAM
Comment 7 jokebos 2019-02-26 05:58:38 UTC
MARKED AS SPAM
Comment 8 SahibKumarKhan 2019-04-08 15:56:45 UTC
MARKED AS SPAM
Comment 9 SahibKumarKhan 2019-04-08 15:56:54 UTC
MARKED AS SPAM
Comment 10 SahibKumarKhan 2019-04-08 15:57:03 UTC
MARKED AS SPAM
Comment 11 Mateusz Piotrowski freebsd_committer freebsd_triage 2021-04-17 20:59:13 UTC
But if MK_CTF is "no", then we would not set STRIP. I am not sure if that's correct.

I'll close the PR for now. Please reopen it if I misunderstood the patch.

Cheers!
Comment 12 Mateusz Piotrowski freebsd_committer freebsd_triage 2021-04-17 21:00:13 UTC
Of course I read it incorrectly. Sorry about that. I'm reopening this PR.
Comment 13 Mateusz Piotrowski freebsd_committer freebsd_triage 2021-04-17 21:06:08 UTC
https://reviews.freebsd.org/D29814
Comment 14 Mateusz Piotrowski freebsd_committer freebsd_triage 2022-12-13 14:34:48 UTC
I don't think it is necessary to commit this style patch. The current version is readable. At the same time, the proposed change introduces a potentially confusing else statement, which has to be clarified with a comment.