package/Makefile.in: pass '-g0' explicitly if !BR2_ENABLE_DEBUG
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Tue, 25 May 2021 12:27:36 +0000 (14:27 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 25 May 2021 20:29:44 +0000 (22:29 +0200)
commitebc1ded1913875869eb5cfb27c4100da737e225b
treebf8496c0c4d5014471d99cbb6ac3abfbe9c025c9
parent77a0167155c34379079662197874a5f38d49ade8
package/Makefile.in: pass '-g0' explicitly if !BR2_ENABLE_DEBUG

If BR2_ENABLE_DEBUG is not set, Buildroot did not pass any flag
to control debug level. This means that the build system of the package
itself would control it.

Instead, provide an explicit '-g0' (no debugging symbols) to get consistent
behavior across packages.

Suggested-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/Makefile.in