mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-11-03 20:47:11 +00:00
Add no-strict-aliasing to genl
The genl code uses constructs which violate the strict aliasing constraints of gcc 4.4. Disable the optimization to avoid warnings and potential breakage.
This commit is contained in:
parent
2230ac1d18
commit
46dc73a57d
@ -3,6 +3,8 @@ GENLOBJ=genl.o
|
||||
include ../Config
|
||||
SHARED_LIBS ?= y
|
||||
|
||||
CFLAGS += -fno-strict-aliasing
|
||||
|
||||
GENLMODULES :=
|
||||
GENLMODULES += ctrl.o
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user