hotplug2 may need -fPIC
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 29 May 2009 23:11:29 +0000 (23:11 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 29 May 2009 23:11:29 +0000 (23:11 +0000)
SVN-Revision: 16199

package/hotplug2/Makefile

index 03ee60890309ee00cc25982d9142a8b7845f3239..df0a7500a8a518a0affc83ff6e89caeed8d2e6c8 100644 (file)
@@ -36,7 +36,7 @@ define Package/hotplug2/description
  This is an implementation of Hotplug2-1.0-beta
 endef
 
-MAKE_FLAGS += CFLAGS="$(TARGET_CFLAGS) -DHAVE_RULES -I."
+MAKE_FLAGS += CFLAGS="$(TARGET_CFLAGS) $(FPIC) -DHAVE_RULES -I."
 
 define Package/hotplug2/install
        $(INSTALL_DIR) $(1)/etc