summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Krause <joerg.krause@embedded.rocks>2015-08-13 22:16:38 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-08-18 10:59:58 +0200
commit2560cbb6fea4477f91cbc2039ca9c383519e7012 (patch)
treeb0053a83a0c599d3e0830c639f88d461a9cebf40
parentc17af71d2c2dbc1ea486344e027da12d7633fba3 (diff)
downloadbuildroot-2560cbb6fea4477f91cbc2039ca9c383519e7012.tar.gz
buildroot-2560cbb6fea4477f91cbc2039ca9c383519e7012.zip
package/libpfm4: disable Werror
Set `DBG` to an empty value to disable -Werror when building libpfm4. Build aborts with a musl toolchain because of warnings about redirecting incorrect header includes. So -Werror shouldn't be used in released code since it can cause random build failures on moderate warnings. It also depends on the used toolchain since different toolchains may or may not print the same warnings. Fixes: http://autobuild.buildroot.net/results/6df/6df9b94a79be1dc5ba878f7b67bf9ad4ce2f2e98/ Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/libpfm4/libpfm4.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/libpfm4/libpfm4.mk b/package/libpfm4/libpfm4.mk
index e2fff80882..7f14758444 100644
--- a/package/libpfm4/libpfm4.mk
+++ b/package/libpfm4/libpfm4.mk
@@ -13,7 +13,8 @@ LIBPFM4_INSTALL_STAGING = YES
LIBPFM4_FLAGS = SYS=Linux ARCH=$(BR2_ARCH) \
CC="$(TARGET_CC)" LDCONFIG=true \
- CONFIG_PFMLIB_SHARED=$(if $(BR2_STATIC_LIBS),n,y)
+ CONFIG_PFMLIB_SHARED=$(if $(BR2_STATIC_LIBS),n,y) \
+ DBG=
define LIBPFM4_BUILD_CMDS
$(MAKE) -C $(@D) $(LIBPFM4_FLAGS)
OpenPOWER on IntegriCloud