mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
- add BR2_PREFER_STATIC_LIB config option to be able to select if we prefer to build static or dynamic libs/bins.
- depending on the BR2_GNU_BUILD_SUFFIX, set the respective EXEEXT, LIBEXT, SHREXT extensions for use on the target. Thanks to Tom for suplying a diff which implements these.
This commit is contained in:
@@ -10,6 +10,12 @@ else
|
||||
MULTILIB:=--disable-multilib
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
||||
PREFERRED_LIB_FLAGS:=--enable-static --disable-shared
|
||||
else
|
||||
PREFERRED_LIB_FLAGS:=--disable-static --enable-shared
|
||||
endif
|
||||
|
||||
|
||||
# FIXME -- this is temporary
|
||||
OPTIMIZE_FOR_CPU=$(ARCH)
|
||||
|
||||
Reference in New Issue
Block a user