[haiku-commits] haiku: hrev45713 - data/develop

  • From: zharik@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 26 May 2013 12:47:49 +0200 (CEST)

hrev45713 adds 1 changeset to branch 'master'
old head: 5c190736fdeb769cab847ce30fe983dbb90203e0
new head: a5862816b1b28f8cf94e601057f8e4fb21969f17
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=a586281+%5E5c19073

----------------------------------------------------------------------------

a586281: 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.

                                        [ Siarzhuk Zharski <zharik@xxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev45713
Commit:      a5862816b1b28f8cf94e601057f8e4fb21969f17
URL:         http://cgit.haiku-os.org/haiku/commit/?id=a586281
Author:      Siarzhuk Zharski <zharik@xxxxxx>
Date:        Sun May 26 10:42:46 2013 UTC

----------------------------------------------------------------------------

2 files changed, 2 insertions(+), 2 deletions(-)
data/develop/Jamfile-engine  | 2 +-
data/develop/makefile-engine | 2 +-

----------------------------------------------------------------------------

diff --git a/data/develop/Jamfile-engine b/data/develop/Jamfile-engine
index bdec959..86c6c3f 100644
--- a/data/develop/Jamfile-engine
+++ b/data/develop/Jamfile-engine
@@ -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_ ;
        }
 } 
diff --git a/data/develop/makefile-engine b/data/develop/makefile-engine
index 274b072..cf19c7b 100644
--- a/data/develop/makefile-engine
+++ b/data/develop/makefile-engine
@@ -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_ \


Other related posts:

  • » [haiku-commits] haiku: hrev45713 - data/develop - zharik