gatling: fix build failure on ARM platforms
authorFlorian Fainelli <florian@openwrt.org>
Tue, 14 Aug 2012 12:06:42 +0000 (12:06 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 14 Aug 2012 12:06:42 +0000 (12:06 +0000)
SVN-Revision: 33182

net/gatling/Makefile

index 0ac9d3a72c7aa4a1eaf6d341be2412397d06e7cf..cd395f7f6633a485065ed02d4378919b6a875b42 100644 (file)
@@ -30,8 +30,10 @@ endef
 
 TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/libowfat \
                 -I$(ICONV_PREFIX)/include
+
 TARGET_LDFLAGS += -L$(STAGING_DIR)/usr/lib \
-                 -L$(ICONV_PREFIX)/lib
+                 -L$(ICONV_PREFIX)/lib \
+                 -Wl,-Bdynamic,$(LIBGCC_S)
 
 define Package/$(PKG_NAME)/install
        $(INSTALL_DIR) $(1)/bin