Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Fischer <mf@go-sys.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/smstools3: fix build with gcc 10.x
Date: Thu, 6 Aug 2020 11:58:31 +0200	[thread overview]
Message-ID: <20200806095831.18563-1-mf@go-sys.de> (raw)

Signed-off-by: Michael Fischer <mf@go-sys.de>
---
 package/smstools3/smstools3.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/smstools3/smstools3.mk b/package/smstools3/smstools3.mk
index 87d189baa8..b15e189c60 100644
--- a/package/smstools3/smstools3.mk
+++ b/package/smstools3/smstools3.mk
@@ -10,6 +10,11 @@ SMSTOOLS3_LICENSE = GPL-2.0+
 SMSTOOLS3_LICENSE_FILES = doc/license.html LICENSE
 
 SMSTOOLS3_CFLAGS = $(TARGET_CFLAGS)
+
+ifeq ($(BR2_GCC_VERSION_10_X),y)
+	SMSTOOLS3_CFLAGS += -Wl,--allow-multiple-definition
+endif
+
 SMSTOOLS3_CFLAGS += -D NUMBER_OF_MODEMS=$(BR2_PACKAGE_SMSTOOLS3_NB_MODEMS)
 SMSTOOLS3_CFLAGS += -D NOSTATS
 
-- 
2.28.0

             reply	other threads:[~2020-08-06  9:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-06  9:58 Michael Fischer [this message]
2020-08-06 15:23 ` [Buildroot] [PATCH 1/1] package/smstools3: fix build with gcc 10.x Thomas Petazzoni
  -- strict thread matches above, loose matches on Subject: below --
2020-08-07 12:58 Michael Fischer
2020-08-07 19:40 ` Yann E. MORIN
2020-08-07 19:54 ` Heiko Thiery

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200806095831.18563-1-mf@go-sys.de \
    --to=mf@go-sys.de \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox