summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-08-18 08:19:40 -0300
committerRenato Botelho <renato@netgate.com>2017-08-18 08:19:40 -0300
commit726df7ce254add4910d8a3898edbd614f1332ba3 (patch)
treece04c3ee1290a815bbbe1363cce6c2e3aee93fc8
parentc8dfbcbe83d9e0afbc89713147d5d024a0af9294 (diff)
downloadpfsense-726df7ce254add4910d8a3898edbd614f1332ba3.zip
pfsense-726df7ce254add4910d8a3898edbd614f1332ba3.tar.gz
Enable debug when building quagga to fix crash on ARM
-rw-r--r--tools/conf/pfPorts/make.conf7
1 files changed, 7 insertions, 0 deletions
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
OpenPOWER on IntegriCloud