[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 81a379dad7fdc41176d5b761679da942d7a58148..7e26cd978577f200751346032f4e2c06af7ab7e0 100644 (file)
@@ -247,7 +247,7 @@ define Build/Compile
                extra_defs="-DUSE_PTHREAD_MUTEX "  \
                CC="$(TARGET_CC)" \
                ARCH="$(ARCH)"  \
                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
                LOCALBASE="$(STAGING_DIR)/usr" \
                all utils/gen_ha1/gen_ha1
 endef