modules/bash: Remove debug info from binary

Add -g0 to CFLAGS
Add -s to LDFLAGS

Signed-off-by: Daniel Pineda <daniel.pineda@puri.sm>
This commit is contained in:
Daniel Pineda 2023-04-20 10:44:34 -06:00
parent 8ff4b9a51b
commit 31e122443c
No known key found for this signature in database
GPG Key ID: 902C199C68C4B327

View File

@ -7,7 +7,7 @@ bash_tar := bash-$(bash_version).tar.gz
bash_url := https://ftpmirror.gnu.org/bash/$(bash_tar)
bash_hash := 5bac17218d3911834520dad13cd1f85ab944e1c09ae1aba55906be1f8192f558
bash_configure := CFLAGS=-Os ./configure \
bash_configure := CFLAGS="-g0 -Os" LDFLAGS="-s" ./configure \
$(CROSS_TOOLS) \
--host $(target) \
--prefix="/usr" \