summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openwrt/package/ser/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/ser/Makefile b/openwrt/package/ser/Makefile
index 1e4a7c178..81cb347dc 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)