Browse Source

hotplug2 may need -fPIC

SVN-Revision: 16199
Jo-Philipp Wich 16 năm trước cách đây
mục cha
commit
12c997d9ec
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      package/hotplug2/Makefile

+ 1 - 1
package/hotplug2/Makefile

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