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:
@@ -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_ ;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user