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:
Siarzhuk Zharski 2013-05-26 12:42:46 +02:00
parent 5c190736fd
commit a5862816b1
2 changed files with 2 additions and 2 deletions

View File

@ -329,7 +329,7 @@ if ( $(OSPLAT) = X86 )
switch $(TYPE)
{
case APP : LINKFLAGS += -Xlinker -soname=_APP_ ;
case SHARED : LINKFLAGS += -nostart -Xlinker -soname=$(NAME) ;
case SHARED : LINKFLAGS += -shared -Xlinker -soname=$(NAME) ;
case DRIVER : LINKFLAGS += -nostdlib /boot/develop/lib/x86/_KERNEL_ ;
}
}

View File

@ -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_ \