From 2983bec3b82cdc9ff2c266ce91a20a1caf38b149 Mon Sep 17 00:00:00 2001 From: yours3lf <0.tamas.marton@gmail.com> Date: Sun, 17 May 2020 14:13:40 +0100 Subject: [PATCH] starting to take care of arm alignment issues --- driver/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/CMakeLists.txt b/driver/CMakeLists.txt index 15c033d..35bac88 100644 --- a/driver/CMakeLists.txt +++ b/driver/CMakeLists.txt @@ -4,6 +4,6 @@ file(GLOB driverSrc ) add_library(rpi-vk-driver SHARED ${driverSrc}) -target_compile_options(rpi-vk-driver PRIVATE -Wall -Werror=implicit-function-declaration -std=c11) +target_compile_options(rpi-vk-driver PRIVATE -Wall -Werror=implicit-function-declaration -std=c11 -Wpacked -Wcast-align) target_link_libraries(rpi-vk-driver drm pthread expat z $ $)