Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 11016] Wrong compiler used for external user host packages
Date: Mon, 14 May 2018 08:19:44 +0000	[thread overview]
Message-ID: <bug-11016-163-0pYC1qE6IS@https.bugs.busybox.net/> (raw)
In-Reply-To: <bug-11016-163@https.bugs.busybox.net/>

https://bugs.busybox.net/show_bug.cgi?id=11016

--- Comment #1 from Dr I J Ormshaw <ian_ormshaw@waters.com> ---
The CMakeLists file used with that config was:

cmake_minimum_required(VERSION 3.0.2)
project(linuxLibraries)

set(CMAKE_C_STANDARD_REQUIRED -std=gnu++14)
add_compile_options(-fPIC -Wall -Wextra -Werror)

add_subdirectory(libTime)
add_subdirectory(libLock)
add_subdirectory(libRegularExpression)
add_subdirectory(libApplication)
add_subdirectory(libStatistic)
add_subdirectory(libSocket)
add_subdirectory(libXmlDocument)
add_subdirectory(libFifo)
add_subdirectory(libHash)
add_subdirectory(libDiskEvents)

The make file:

################################################################################
#
# amstLinuxLibraries
#
################################################################################
AMSTLINUXLIBRARIES_COMMON_CXX_FLAGS = -fPIC -Wall -Wextra -Werror -std=gnu++14

AMSTLINUXLIBRARIES_VERSION           = 0.0.1
AMSTLINUXLIBRARIES_SITE              = $(BR2_EXTERNAL)/source/libraries
AMSTLINUXLIBRARIES_SITE_METHOD       = local
AMSTLINUXLIBRARIES_DEPENDENCIES      = host-amstLinuxLibraries
AMSTLINUXLIBRARIES_INSTALL_TARGET    = YES
AMSTLINUXLIBRARIES_INSTALL_STAGING   = YES
AMSTLINUXLIBRARIES_CONF_OPTS         =
-DCMAKE_CXX_FLAGS="$(AMSTLINUXLIBRARIES_COMMON_CXX_FLAGS)"
-DAMSTLINUXLIBRARIES=On
HOST_AMSTLINUXLIBRARIES_CONF_OPTS    = -DCMAKE_CXX_FLAGS="$(HOST_CPPFLAGS)
$(AMSTLINUXLIBRARIES_COMMON_CXX_FLAGS)" -DAMSTLINUXLIBRARIES=On

$(eval $(cmake-package))
$(eval $(host-cmake-package))

was origionally used with:

cmake_minimum_required(VERSION 3.0.2)
project(linuxLibraries)

add_subdirectory(libTime)
add_subdirectory(libLock)
add_subdirectory(libRegularExpression)
add_subdirectory(libApplication)
add_subdirectory(libStatistic)
add_subdirectory(libSocket)
add_subdirectory(libXmlDocument)
add_subdirectory(libFifo)
add_subdirectory(libHash)
add_subdirectory(libDiskEvents)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2018-05-14  8:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-14  8:02 [Buildroot] [Bug 11016] New: Wrong compiler used for external user host packages bugzilla at busybox.net
2018-05-14  8:03 ` [Buildroot] [Bug 11016] " bugzilla at busybox.net
2018-05-14  8:19 ` bugzilla at busybox.net [this message]
2018-05-15 20:58 ` bugzilla at busybox.net

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=bug-11016-163-0pYC1qE6IS@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --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