summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-fs/smbtad/smbtad-1.2.6.ebuild')
-rw-r--r--net-fs/smbtad/smbtad-1.2.6.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/net-fs/smbtad/smbtad-1.2.6.ebuild b/net-fs/smbtad/smbtad-1.2.6.ebuild
index 8a0ed2811e4b..e1a62c8d8bc1 100644
--- a/net-fs/smbtad/smbtad-1.2.6.ebuild
+++ b/net-fs/smbtad/smbtad-1.2.6.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit cmake-utils
+inherit cmake-utils flag-o-matic
DESCRIPTION="Data receiver of the SMB Traffic Analyzer project"
HOMEPAGE="https://github.com/hhetter/smbtad"
@@ -28,6 +28,9 @@ DOCS=( README AUTHORS )
src_prepare() {
cmake-utils_src_prepare
+ # bug #707778
+ append-cflags -fcommon
+
sed -i \
-e '/CMAKE_C_FLAGS/d' \
CMakeLists.txt || die