diff options
| author | Martin Bark <martin@barkynet.com> | 2016-06-16 17:05:54 +0100 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-07-01 16:17:21 +0200 |
| commit | 8f7203cd5453c93b6b1d6afb9ce4634ec0d9ac7a (patch) | |
| tree | 93a4044989f1a8a7e03640596e75856152c4e1be /package/upx | |
| parent | 1474b369638e84090d3f6c2b51a5269076d00be5 (diff) | |
| download | buildroot-8f7203cd5453c93b6b1d6afb9ce4634ec0d9ac7a.tar.gz buildroot-8f7203cd5453c93b6b1d6afb9ce4634ec0d9ac7a.zip | |
package/upx: fix build with host gcc 6.x
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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/upx')
| -rw-r--r-- | package/upx/upx.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/upx/upx.mk b/package/upx/upx.mk index 400d28328d..eaef27590a 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 |

