Jamfile/makefile-engines:replace -nostart with -shared
Starting from our GCC 4.7.3 the shared library -nostart option is not valid anymore. Replace it with -shared one that works in GCC2 build environment too.
This commit is contained in:
@@ -93,7 +93,7 @@ endif
|
||||
LDFLAGS += -Xlinker -soname=_APP_
|
||||
else
|
||||
ifeq ($(strip $(TYPE)), SHARED)
|
||||
LDFLAGS += -nostart -Xlinker -soname=$(NAME)
|
||||
LDFLAGS += -shared -Xlinker -soname=$(NAME)
|
||||
else
|
||||
ifeq ($(strip $(TYPE)), DRIVER)
|
||||
LDFLAGS += -nostdlib /boot/develop/lib/x86/_KERNEL_ \
|
||||
|
||||
Reference in New Issue
Block a user