aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/phy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/phy/Makefile')
-rw-r--r--drivers/net/phy/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/Makefile b/drivers/net/phy/Makefile
index 9645e389a..975c421a4 100644
--- a/drivers/net/phy/Makefile
+++ b/drivers/net/phy/Makefile
@@ -1,4 +1,5 @@
# Makefile for Linux PHY drivers
+CFLAGS_KERNEL := -Os -fno-unsafe-math-optimizations -fno-strict-aliasing
libphy-objs := phy.o phy_device.o mdio_bus.o