From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNWANTED_LANGUAGE_BODY, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4EF02C4338F for ; Mon, 26 Jul 2021 22:35:25 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9C8FA60F6C for ; Mon, 26 Jul 2021 22:35:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9C8FA60F6C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=benettiengineering.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=busybox.net Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 6CC3C607B5; Mon, 26 Jul 2021 22:35:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LHXyXVV8wLdQ; Mon, 26 Jul 2021 22:35:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 5D944605DD; Mon, 26 Jul 2021 22:35:22 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id DEFBF1BF2FF for ; Mon, 26 Jul 2021 22:35:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id CE0CD402BC for ; Mon, 26 Jul 2021 22:35:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp4.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=aruba.it Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AiBCZHKHFO9T for ; Mon, 26 Jul 2021 22:35:20 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from smtpcmd12131.aruba.it (smtpcmd12131.aruba.it [62.149.156.131]) by smtp4.osuosl.org (Postfix) with ESMTP id AEDFC402B9 for ; Mon, 26 Jul 2021 22:35:19 +0000 (UTC) Received: from ubuntu.localdomain ([146.241.155.191]) by Aruba Outgoing Smtp with ESMTPSA id 89BrmQHp3nxSq89BtmxN5T; Tue, 27 Jul 2021 00:35:18 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1627338918; bh=gAMYrvIVaPAv1LHKshbHY/yQpvn1Ddnsb737HNnwdcE=; h=From:To:Subject:Date:MIME-Version; b=MItXq33AhtyCqLY5Svg0erMZwPU2rVF35HBV9I5b2xWh/6UiUutfGkZ/1TMtgK0b1 lxbspQjt3JmuWF0X81/yENDii1YqlWEuE3mVL9pxmuWNrqVGOO/TAdNhNvbwdFBvXl H5EHp7o2S28jYAPuHPkFXWuyGWX3lbeMRVHTKddK7aLtCs+T+bqGYboBY3WpH1kd8X 7sgHwOwdnEStY8J/X056bCskEyR+J/MCaCozt0buIUr8VOjtLsza1q4MuJuIpFmiJn LaRVj+kzGwvD77cjGWBs2kEMHxawrIqa/+k7y6sklL4hSVQsM1WmMU/T7UEanAEFie HJoJZ8AxKwe+A== From: Giulio Benetti To: buildroot@buildroot.org Date: Tue, 27 Jul 2021 00:34:33 +0200 Message-Id: <20210726223435.2906458-2-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210726223435.2906458-1-giulio.benetti@benettiengineering.com> References: <20210726235656.1df4ddeb@windsurf> <20210726223435.2906458-1-giulio.benetti@benettiengineering.com> MIME-Version: 1.0 X-CMAE-Envelope: MS4wfANeqTx1khsoR+a6AQZltZLSJ6lWjzXhDEPjUSeSNOYbTJsyWYcw3XQh1l5g8wCNcx9BOa28Os4x/hVmexEO6zp41NpQ9UmpjFcI/Fdtw0gUpwlaf485 3mA9xi9W3sSxo5R31P1YvtpohFlZ7cc/mFO3oMKHveCKufr2qPweiyMFsuJS5DAkQFldaKc8nQA+QLfgAAEhBe4hbAbrXCM5zE9kUWfvFxCUjWUTNt51a+GM sdDtlvWx//K0szAruoq1mZbEy4RNKWhY373dVKiqVl1Y+Cn+ByEZAGmiQj5mIsJIGBQWjJjm7wbx+IXM5TKnjVu5DBgbOtwl6vo/m0MG9fppOk7ssYvntJxy D1obm+fZRGUA2qwzEtBsriGrES6hlaEPtGXf/1ZBKJgu5Ph8P0lnXcl482VxqHkVBQ5cAY3O9vBwadPfHV74MSF/M6bfmLuzf54MPIHBHVxtVck7SIMbxjyE TJ7OPCh7/DCKftcO Subject: [Buildroot] [PATCH v2 1/3] package/libgeos: fix build failure due to missing -mcmodel=large X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Giulio Benetti , Michael Nosthoff , Maxim Kochetkov , Thomas Petazzoni , Romain Naour , Matt Weber , Thomas De Schampheleire Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" When building libgeos for or1k -mcmodel=large is needed to link, so let's add that gcc option in case we're building for or1k. Signed-off-by: Giulio Benetti --- package/libgeos/libgeos.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/libgeos/libgeos.mk b/package/libgeos/libgeos.mk index a355732af8..43211d0434 100644 --- a/package/libgeos/libgeos.mk +++ b/package/libgeos/libgeos.mk @@ -23,6 +23,10 @@ ifeq ($(BR2_arm)$(BR2_armeb),y) LIBGEOS_CONF_OPTS += -DDISABLE_GEOS_INLINE=ON endif +ifeq ($(BR2_or1k),y) +LIBGEOS_CXXFLAGS += -mcmodel=large +endif + LIBGEOS_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(LIBGEOS_CXXFLAGS)" $(eval $(cmake-package)) -- 2.25.1 _______________________________________________ buildroot mailing list buildroot@busybox.net http://lists.busybox.net/mailman/listinfo/buildroot