config: use unaligned types for ARMv7
authorJan Viktorin <viktorin@rehivetech.com>
Wed, 9 Dec 2015 15:16:17 +0000 (16:16 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 29 Feb 2016 15:24:04 +0000 (16:24 +0100)
This patch reduces number of warnings from 53 to 40.
It removes the usual false positives utilizing unaligned_uint*_t data types.

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
config/defconfig_arm-armv7a-linuxapp-gcc

index 1e71a8c..8a14fd7 100644 (file)
@@ -39,6 +39,7 @@ CONFIG_RTE_ARCH_ARM_TUNE="cortex-a9"
 CONFIG_RTE_ARCH_ARM_NEON=y
 
 CONFIG_RTE_FORCE_INTRINSICS=y
+CONFIG_RTE_ARCH_STRICT_ALIGN=y
 
 CONFIG_RTE_TOOLCHAIN="gcc"
 CONFIG_RTE_TOOLCHAIN_GCC=y