[package] fix openser module linking issues (#6932)
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 27 Mar 2010 17:21:08 +0000 (17:21 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 27 Mar 2010 17:21:08 +0000 (17:21 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20521 3c298f89-4303-0410-b956-a3cf2f4a3e73

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