From: Max Filippov <jcmvbkbc@gmail.com>
To: buildroot@buildroot.org
Cc: Woodrow Douglass <wdouglass@carnegierobotics.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: [Buildroot] [PATCH 2/2] package/chicken: pass TARGET_CFLAGS to the build system
Date: Sat, 10 Aug 2024 17:00:29 -0700 [thread overview]
Message-ID: <20240811000029.1956409-3-jcmvbkbc@gmail.com> (raw)
In-Reply-To: <20240811000029.1956409-1-jcmvbkbc@gmail.com>
chicken build system expects non-standard environment variables with
compiler names and compiler options. Pass buildroot TARGET_CFLAGS in
chicken C_COMPILER_OPTIMIZATION_OPTIONS.
Fixes: http://autobuild.buildroot.net/results/ce36170d67c4702f34bee025d8a46e5269c4573e/
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
---
package/chicken/chicken.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/chicken/chicken.mk b/package/chicken/chicken.mk
index 2667f7823d8a..0000fc635ed5 100644
--- a/package/chicken/chicken.mk
+++ b/package/chicken/chicken.mk
@@ -16,6 +16,7 @@ CHICKEN_MAKE_OPTS = \
ARCH=unused \
C_COMPILER="$(TARGET_CC)" \
CXX_COMPILER="$(TARGET_CXX)" \
+ C_COMPILER_OPTIMIZATION_OPTIONS="$(TARGET_CFLAGS)" \
PREFIX=/usr \
PLATFORM=linux \
LIBRARIAN="$(TARGET_AR)"
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-08-11 0:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-11 0:00 [Buildroot] [PATCH 0/2] package/chicken: pass TARGET_CFLAGS to the build system Max Filippov
2024-08-11 0:00 ` [Buildroot] [PATCH 1/2] Revert "package/chicken: move literals into text section for xtensa architecture" Max Filippov
2024-08-12 12:39 ` Woody Douglass via buildroot
2024-08-12 18:29 ` Max Filippov
2024-08-12 18:53 ` Woody Douglass via buildroot
2024-08-11 0:00 ` Max Filippov [this message]
2024-08-12 20:23 ` [Buildroot] [PATCH 0/2] package/chicken: pass TARGET_CFLAGS to the build system Thomas Petazzoni via buildroot
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=20240811000029.1956409-3-jcmvbkbc@gmail.com \
--to=jcmvbkbc@gmail.com \
--cc=buildroot@buildroot.org \
--cc=thomas.petazzoni@bootlin.com \
--cc=wdouglass@carnegierobotics.com \
/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