diff --git a/openwrt/package/ser/Makefile b/openwrt/package/ser/Makefile index 1e4a7c17852..81cb347dcc1 100644 --- a/openwrt/package/ser/Makefile +++ b/openwrt/package/ser/Makefile @@ -32,7 +32,7 @@ $(PKG_BUILD_DIR)/$(PKG_NAME): $(PKG_BUILD_DIR)/.patched extra_defs="-DUSE_PTHREAD_MUTEX " \ CC="$(TARGET_CC)" \ ARCH="$(ARCH)" \ - COPTS="$(TARGET_CFLAGS)" \ + CFLAGS="$(TARGET_CFLAGS)" \ modules all $(PKG_IPK): $(PKG_BUILD_DIR)/$(PKG_NAME)