mii-diag: remove unneded explicit static linking handling
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 29 Jun 2012 14:15:12 +0000 (16:15 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 29 Jun 2012 14:40:04 +0000 (16:40 +0200)
Now that it is done globally instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/mii-diag/mii-diag.mk

index f74fa3def078b948fc1132fc68abc27eb67c1b37..5adb270125913228c962f5879fe01258214ca07a 100644 (file)
@@ -10,10 +10,6 @@ MII_DIAG_SITE    = $(BR2_DEBIAN_MIRROR)/debian/pool/main/m/mii-diag
 
 MII_DIAG_MAKE_OPT = $(TARGET_CONFIGURE_OPTS)
 
-ifeq ($(BR2_PREFER_STATIC_LIB),y)
-MII_DIAG_MAKE_OPT += CFLAGS="$(TARGET_CFLAGS) -static"
-endif
-
 define MII_DIAG_DEBIAN_PATCHES
        if [ -d $(@D)/debian/patches ]; then \
                support/scripts/apply-patches.sh $(@D) $(@D)/debian/patches \*.patch; \