summaryrefslogtreecommitdiff
path: root/tcpdump/tcpdump_3.8.3.oe
diff options
context:
space:
mode:
Diffstat (limited to 'tcpdump/tcpdump_3.8.3.oe')
-rw-r--r--tcpdump/tcpdump_3.8.3.oe3
1 files changed, 3 insertions, 0 deletions
diff --git a/tcpdump/tcpdump_3.8.3.oe b/tcpdump/tcpdump_3.8.3.oe
index 2adeec5ef2..981d4a95cc 100644
--- a/tcpdump/tcpdump_3.8.3.oe
+++ b/tcpdump/tcpdump_3.8.3.oe
@@ -4,9 +4,12 @@ PRIORITY = "optional"
DEPENDS = "libpcap-0.8.1"
SRC_URI = "http://www.tcpdump.org/release/tcpdump-${PV}.tar.gz"
+SRC_URI_append_mtx-1 = " file://tcpdump_configure_no_-O2.patch;patch=1;pnum=1"
inherit autotools
+CFLAGS_mtx-1 := "${@'${CFLAGS}'.replace('-O2', '')}"
+
do_configure() {
gnu-configize
oe_runconf