supress align and unkown pragma warnings in clang

This commit is contained in:
Alug committed 2025-08-15 07:53:20 +02:00
1 parent 5221bf75eb
commit 2fc22d3ef4
1 file changed
+4
+4
View File
@@ -144,6 +144,10 @@ ifdef GCC81
WFLAGS+=-Wno-error=multistatement-macros
endif
ifeq ($(CC),clang)
WFLAGS+= -Wno-unknown-pragmas -Wno-cast-align
endif
ifdef NONX86
ifdef X86_64 # yeah that SEEMS contradictory
opts+=-march=nocona