diff --git a/src/common/platforms/esp8266/common.mk b/src/common/platforms/esp8266/common.mk
index 5efc4b9ae286536c10bf7b8a2ab0965a35d0b487..ff066c85ea0ad34c7eb3ee8d8b11da28f51312b2 100644
--- a/src/common/platforms/esp8266/common.mk
+++ b/src/common/platforms/esp8266/common.mk
@@ -57,7 +57,7 @@ NO_Os_FLAGS= -fno-expensive-optimizations -fno-thread-jumps \
              -fno-tree-pre -fno-tree-vrp
 
 C_CXX_FLAGS  = -W -Wall -Werror -Wundef -Wno-comment -Wno-variadic-macros -Wpointer-arith \
-               -Os $(NO_Os_FLAGS) -g3 \
+               -pipe -Os $(NO_Os_FLAGS) -g3 \
                -Wl,-EL -fno-inline-functions \
                -D_XOPEN_SOURCE=500 \
                -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DSTATIC=static \