[package] fix openser module linking issues (#6932)
authorFlorian Fainelli <florian@openwrt.org>
Sat, 27 Mar 2010 17:21:08 +0000 (17:21 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 27 Mar 2010 17:21:08 +0000 (17:21 +0000)
SVN-Revision: 20521

net/openser/Makefile

index 81a379d..7e26cd9 100644 (file)
@@ -247,7 +247,7 @@ define Build/Compile
                extra_defs="-DUSE_PTHREAD_MUTEX "  \
                CC="$(TARGET_CC)" \
                ARCH="$(ARCH)"  \
-               CFLAGS="$(TARGET_CFLAGS)" \
+               CFLAGS="$(TARGET_CFLAGS) $(FPIC)" \
                LOCALBASE="$(STAGING_DIR)/usr" \
                all utils/gen_ha1/gen_ha1
 endef