This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/10262 ) Change subject: Makefile: -O3 and debug build ...................................................................... Makefile: -O3 and debug build Build standard builds with -O3. Add a "debug" target with -Og and asan. Change-Id: Ie943babb808ffdb1d807bcd7ce4ace54723b49a9 --- M src/Makefile 1 file changed, 5 insertions(+), 1 deletion(-) Approvals: Jenkins Builder: Verified Harald Welte: Looks good to me, approved diff --git a/src/Makefile b/src/Makefile index f6ff0fc..b21f846 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,8 +1,12 @@ -CFLAGS=-g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. +CFLAGS=-g -O3 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. LDLIBS=`pkg-config --libs libosmocore 2> /dev/null` -losmocore all: conv_enc_test crc_test tetra-rx float_to_bits tunctl +debug: CFLAGS := -lasan $(CFLAGS) -fsanitize=address -fno-omit-frame-pointer -g -Og +debug: LDLIBS := -lasan $(LDLIBS) +debug: all + %.o: %.c $(CC) $(CFLAGS) -c $^ -o $@ -- To view, visit https://gerrit.osmocom.org/10262 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-tetra Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Ie943babb808ffdb1d807bcd7ce4ace54723b49a9 Gerrit-Change-Number: 10262 Gerrit-PatchSet: 1 Gerrit-Owner: Jan Hrach <jenda.2vf9h at hrach.eu> Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Jenkins Builder -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180731/078b99e3/attachment.htm>