From 726df7ce254add4910d8a3898edbd614f1332ba3 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Fri, 18 Aug 2017 08:19:40 -0300 Subject: Enable debug when building quagga to fix crash on ARM --- tools/conf/pfPorts/make.conf | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tools') diff --git a/tools/conf/pfPorts/make.conf b/tools/conf/pfPorts/make.conf index bdb27da..78a7f1f 100644 --- a/tools/conf/pfPorts/make.conf +++ b/tools/conf/pfPorts/make.conf @@ -44,6 +44,13 @@ net_ntp_UNSET_FORCE= PERL_UTILS mail_pear-Mail_SET_FORCE= PEAR_NET_SMTP +.if ${.CURDIR:N*net/quagga*}=="" || ${.CURDIR:N*net/frr*}=="" +CUR_ARCH!= /usr/bin/uname -p +. if ${CUR_ARCH} == "armv6" +WITH_DEBUG=yes +. endif +.endif + .if ${.CURDIR:N*net/rsync*}=="" CFLAGS+= -static .endif -- cgit v1.1