aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2021-08-03 16:56:24 +0200
committerToni Uhlig <matzeton@googlemail.com>2021-08-03 16:56:24 +0200
commita7cae76c5ef40f52a1dd6895373e8c93dffaadf0 (patch)
tree9f260269a05490482afdf4a0d3a6284fb855511c /Makefile.inc
parent31486d98f42d6e8a9e6b07d4576c4e781c25bee7 (diff)
Ignore strict aliasing warnings.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 6604ce5..9d59196 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -18,7 +18,7 @@ CMAKE = cmake
CC = $(LOCAL_MINGW64_CC)
CXX = $(dir $(CC))x86_64-w64-mingw32-g++
DDK_INCLUDE_DIR = $(dir $(CC))../x86_64-w64-mingw32/include/ddk
-CFLAGS := -Wall -Wextra -Wno-sign-compare \
+CFLAGS := -Wall -Wextra -Wno-sign-compare -Wno-strict-aliasing \
-m64 -fPIC -fvisibility=hidden \
-ffunction-sections -fdata-sections -fno-builtin -ffreestanding \
-I$(DPP_ROOT)/CRT -I$(DDK_INCLUDE_DIR) \