* [Buildroot] [PATCH 1/1] package/conmon: fix build with gcc 4.8
@ 2024-03-03 10:06 Fabrice Fontaine
2024-03-03 12:27 ` Peter Korsgaard
2024-03-19 12:08 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2024-03-03 10:06 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine, Christian Stewart
Fix the following build failure with gcc 4.8 raised since the addition
of the package in commit 06f50ff1bf066feb6cf6ed512113773f87c884fb:
src/conmon.c:5:2: error: #error conmon.c requires C99 or later
#error conmon.c requires C99 or later
^
Fixes: 06f50ff1bf066feb6cf6ed512113773f87c884fb
- http://autobuild.buildroot.org/results/b573aceefde04435ea13dfd2a48f9c2372bde4d7
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/conmon/conmon.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/conmon/conmon.mk b/package/conmon/conmon.mk
index 214cb460a5..1e57786686 100644
--- a/package/conmon/conmon.mk
+++ b/package/conmon/conmon.mk
@@ -25,7 +25,8 @@ define CONMON_CONFIGURE_CMDS
endef
define CONMON_BUILD_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
+ $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" \
+ CFLAGS="$(TARGET_CFLAGS) -std=c99" \
LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D) bin/conmon
endef
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/conmon: fix build with gcc 4.8
2024-03-03 10:06 [Buildroot] [PATCH 1/1] package/conmon: fix build with gcc 4.8 Fabrice Fontaine
@ 2024-03-03 12:27 ` Peter Korsgaard
2024-03-19 12:08 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2024-03-03 12:27 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Christian Stewart, buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Fix the following build failure with gcc 4.8 raised since the addition
> of the package in commit 06f50ff1bf066feb6cf6ed512113773f87c884fb:
> src/conmon.c:5:2: error: #error conmon.c requires C99 or later
> #error conmon.c requires C99 or later
> ^
> Fixes: 06f50ff1bf066feb6cf6ed512113773f87c884fb
> - http://autobuild.buildroot.org/results/b573aceefde04435ea13dfd2a48f9c2372bde4d7
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/conmon: fix build with gcc 4.8
2024-03-03 10:06 [Buildroot] [PATCH 1/1] package/conmon: fix build with gcc 4.8 Fabrice Fontaine
2024-03-03 12:27 ` Peter Korsgaard
@ 2024-03-19 12:08 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2024-03-19 12:08 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Christian Stewart, buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Fix the following build failure with gcc 4.8 raised since the addition
> of the package in commit 06f50ff1bf066feb6cf6ed512113773f87c884fb:
> src/conmon.c:5:2: error: #error conmon.c requires C99 or later
> #error conmon.c requires C99 or later
> ^
> Fixes: 06f50ff1bf066feb6cf6ed512113773f87c884fb
> - http://autobuild.buildroot.org/results/b573aceefde04435ea13dfd2a48f9c2372bde4d7
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2023.11.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-19 12:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-03 10:06 [Buildroot] [PATCH 1/1] package/conmon: fix build with gcc 4.8 Fabrice Fontaine
2024-03-03 12:27 ` Peter Korsgaard
2024-03-19 12:08 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox