* [Buildroot] [PATCH 1/1] package/upx: fix build with host gcc 6.x
@ 2016-06-16 16:05 Martin Bark
2016-07-01 14:18 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Martin Bark @ 2016-06-16 16:05 UTC (permalink / raw)
To: buildroot
Disable the -Werror gcc option because is causes the following error
when using gcc 6.x on the host.
p_vmlinx.cpp:100:5: error: this ?if? clause does not guard...
[-Werror=misleading-indentation] if (a->p_paddr > b->p_paddr) return 1;
Signed-off-by: Martin Bark <martin@barkynet.com>
---
package/upx/upx.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/upx/upx.mk b/package/upx/upx.mk
index 400d283..eaef275 100644
--- a/package/upx/upx.mk
+++ b/package/upx/upx.mk
@@ -17,6 +17,7 @@ HOST_UPX_DEPENDENCIES = host-ucl host-zlib
define HOST_UPX_BUILD_CMDS
$(HOST_MAKE_ENV) $(MAKE) CPPFLAGS="$(HOST_CPPFLAGS)" \
LDFLAGS="$(HOST_LDFLAGS)" UPX_UCLDIR=$(HOST_DIR)/usr \
+ CXXFLAGS_WERROR= \
-C $(@D) all
endef
--
2.8.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] package/upx: fix build with host gcc 6.x
2016-06-16 16:05 [Buildroot] [PATCH 1/1] package/upx: fix build with host gcc 6.x Martin Bark
@ 2016-07-01 14:18 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-07-01 14:18 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 16 Jun 2016 17:05:54 +0100, Martin Bark wrote:
> Disable the -Werror gcc option because is causes the following error
> when using gcc 6.x on the host.
>
> p_vmlinx.cpp:100:5: error: this ?if? clause does not guard...
> [-Werror=misleading-indentation] if (a->p_paddr > b->p_paddr) return 1;
>
> Signed-off-by: Martin Bark <martin@barkynet.com>
> ---
> package/upx/upx.mk | 1 +
> 1 file changed, 1 insertion(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-01 14:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-16 16:05 [Buildroot] [PATCH 1/1] package/upx: fix build with host gcc 6.x Martin Bark
2016-07-01 14:18 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox