* [Buildroot] [PATCH 1/1] uacme: fix c99 detection on microblazeel, powerpc
@ 2019-10-04 9:53 Nicola Di Lieto
2019-10-04 11:45 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Nicola Di Lieto @ 2019-10-04 9:53 UTC (permalink / raw)
To: buildroot
Fixes:
microblazeel http://autobuild.buildroot.net/results/bc715a2f53f72630ae13e3d226e6a029915c4ee4
powerpc http://autobuild.buildroot.net/results/07d5e454ffd11527d70268681fe15e9de77379e4
Signed-off-by: Nicola Di Lieto <nicola.dilieto@gmail.com>
---
package/uacme/uacme.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/uacme/uacme.mk b/package/uacme/uacme.mk
index 999cc36..c920a90 100644
--- a/package/uacme/uacme.mk
+++ b/package/uacme/uacme.mk
@@ -13,6 +13,10 @@ UACME_LICENSE = GPL-3.0+
UACME_LICENSE_FILES = COPYING
UACME_DEPENDENCIES = libcurl
+ifneq (,$(filter $(ARCH),microblazeel powerpc))
+UACME_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
+endif
+
ifeq ($(BR2_PACKAGE_MBEDTLS),y)
UACME_CONF_OPTS += --with-mbedtls
UACME_DEPENDENCIES += mbedtls
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] uacme: fix c99 detection on microblazeel, powerpc
2019-10-04 9:53 [Buildroot] [PATCH 1/1] uacme: fix c99 detection on microblazeel, powerpc Nicola Di Lieto
@ 2019-10-04 11:45 ` Thomas Petazzoni
2019-10-04 13:27 ` Nicola Di Lieto
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2019-10-04 11:45 UTC (permalink / raw)
To: buildroot
Hello Nicola,
On Fri, 4 Oct 2019 11:53:15 +0200
Nicola Di Lieto <nicola.dilieto@gmail.com> wrote:
> Fixes:
>
> microblazeel http://autobuild.buildroot.net/results/bc715a2f53f72630ae13e3d226e6a029915c4ee4
> powerpc http://autobuild.buildroot.net/results/07d5e454ffd11527d70268681fe15e9de77379e4
>
> Signed-off-by: Nicola Di Lieto <nicola.dilieto@gmail.com>
> ---
> package/uacme/uacme.mk | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/package/uacme/uacme.mk b/package/uacme/uacme.mk
> index 999cc36..c920a90 100644
> --- a/package/uacme/uacme.mk
> +++ b/package/uacme/uacme.mk
> @@ -13,6 +13,10 @@ UACME_LICENSE = GPL-3.0+
> UACME_LICENSE_FILES = COPYING
> UACME_DEPENDENCIES = libcurl
>
> +ifneq (,$(filter $(ARCH),microblazeel powerpc))
> +UACME_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
> +endif
This is not correct: as I told you privately, this issue is not at all
related to Microblaze or PowerPC architectures, but it's related to the
toolchain lacking wide-char support, and the AC_PROG_CC_C99 macro
testing C99 support using wide-char, even if in the end the package
doesn't need wchar support. You can try yourself: build an ARM
configuration without wide-char support, and you should get the same
problem.
So, the commit title should be:
package/uacme: fix c99 detection on !wchar toolchains
and the code should be just:
UACME_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
i.e, unconditional.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] uacme: fix c99 detection on microblazeel, powerpc
2019-10-04 11:45 ` Thomas Petazzoni
@ 2019-10-04 13:27 ` Nicola Di Lieto
0 siblings, 0 replies; 3+ messages in thread
From: Nicola Di Lieto @ 2019-10-04 13:27 UTC (permalink / raw)
To: buildroot
On Fri, Oct 04, 2019 at 01:45:00PM +0200, Thomas Petazzoni wrote:
>So, the commit title should be:
>
> package/uacme: fix c99 detection on !wchar toolchains
>
>and the code should be just:
>
>UACME_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
>
>i.e, unconditional.
>
Hello Thomas,
as suggested, new patch version
http://lists.busybox.net/pipermail/buildroot/2019-October/261605.html
Thanks for your time
Nicola
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-10-04 13:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-04 9:53 [Buildroot] [PATCH 1/1] uacme: fix c99 detection on microblazeel, powerpc Nicola Di Lieto
2019-10-04 11:45 ` Thomas Petazzoni
2019-10-04 13:27 ` Nicola Di Lieto
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.