1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Make ndpi-netfilter work on all arch

This commit is contained in:
Ycarus (Yannick Chabanois) 2023-07-15 14:35:21 +02:00
parent 715c0cd0bc
commit 00267a8e86
6 changed files with 440 additions and 9 deletions

View file

@ -7,7 +7,7 @@
+cc-option = $(shell if $(CC) -Werror $(1) -S -o /dev/null -xc /dev/null \
+ > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;)
+mno_outline_atomics := $(call cc-option, -mno-outline-atomics, "")
+ccflags-y += $(mno_outline_atomics)
+ccflags-y += $(mno_outline_atomics) -Wframe-larger-than=2600
#ccflags-y += -Wshadow-local
# Needed for pahole
#ccflags-y += -femit-struct-debug-detailed=any