[Buildroot] [git commit] mii-diag: link statically if configured to do so

Peter Korsgaard jacmet at uclibc.org
Sat Jun 30 08:32:14 UTC 2012


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

 Thomas> Hello,
 Thomas> Le Wed, 27 Jun 2012 22:03:59 +0200,
 Thomas> Peter Korsgaard <jacmet at sunsite.dk> a écrit :

 >> +MII_DIAG_MAKE_OPT = $(TARGET_CONFIGURE_OPTS)
 >> +
 >> +ifeq ($(BR2_PREFER_STATIC_LIB),y)
 >> +MII_DIAG_MAKE_OPT += CFLAGS="$(TARGET_CFLAGS) -static"
 >> +endif

 Thomas> I am not fully sure I like this. Do we want to have the same
 Thomas> stuff in all packages, or should we think about doing this
 Thomas> globally in some way?

Agree, I've added it globally now.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list