public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-lang/spidermonkey/files: spidermonkey-1.7.0-ldflags.patch
@ 2010-08-06 23:15 Markos Chandras (hwoarang)
  0 siblings, 0 replies; 4+ messages in thread
From: Markos Chandras (hwoarang) @ 2010-08-06 23:15 UTC (permalink / raw
  To: gentoo-commits

hwoarang    10/08/06 23:15:49

  Added:                spidermonkey-1.7.0-ldflags.patch
  Log:
  Apply patch from Kacper Kowalik <xarthisius@gentoo.org> to respect LDFLAGS. Bug #331129
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-lang/spidermonkey/files/spidermonkey-1.7.0-ldflags.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/spidermonkey/files/spidermonkey-1.7.0-ldflags.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/spidermonkey/files/spidermonkey-1.7.0-ldflags.patch?rev=1.1&content-type=text/plain

Index: spidermonkey-1.7.0-ldflags.patch
===================================================================
Respect LDFLAGS

http://bugs.gentoo.org/show_bug.cgi?id=331129

--- js/src/Makefile.ref
+++ js/src/Makefile.ref
@@ -338,7 +338,7 @@
 	link.exe -out:"$@" $(EXE_LINK_FLAGS) $^
 else
 $(PROGRAM): $(PROG_OBJS) $(LIBRARY)
-	$(CC) -o $@ $(CFLAGS) $(PROG_OBJS) $(LIBRARY) $(LDFLAGS) $(OTHER_LIBS) \
+	$(CC) $(HOST_LDFLAGS) -o $@ $(CFLAGS) $(PROG_OBJS) $(LIBRARY) $(LDFLAGS) $(OTHER_LIBS) \
 	    $(PROG_LIBS)
 endif
 
@@ -355,7 +355,7 @@
 	$(OBJDIR)/jscpucfg > $@
 
 $(OBJDIR)/jscpucfg: $(OBJDIR)/jscpucfg.o
-	$(CC) -o $@ $(OBJDIR)/jscpucfg.o
+	$(CC) $(HOST_LDFLAGS) -o $@ $(OBJDIR)/jscpucfg.o
 
 # Add to TARGETS for clobber rule
 TARGETS += $(OBJDIR)/jsautocfg.h $(OBJDIR)/jscpucfg \






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-lang/spidermonkey/files: spidermonkey-1.7.0-ldflags.patch
@ 2011-11-21 18:05 Ian Stakenvicius (axs)
  0 siblings, 0 replies; 4+ messages in thread
From: Ian Stakenvicius (axs) @ 2011-11-21 18:05 UTC (permalink / raw
  To: gentoo-commits

axs         11/11/21 18:05:43

  Modified:             spidermonkey-1.7.0-ldflags.patch
  Log:
  modified ldflags patch to fix ldflags on jskwgen, bug #391079
  
  (Portage version: 2.1.10.11/cvs/Linux i686)

Revision  Changes    Path
1.2                  dev-lang/spidermonkey/files/spidermonkey-1.7.0-ldflags.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/spidermonkey/files/spidermonkey-1.7.0-ldflags.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/spidermonkey/files/spidermonkey-1.7.0-ldflags.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/spidermonkey/files/spidermonkey-1.7.0-ldflags.patch?r1=1.1&r2=1.2

Index: spidermonkey-1.7.0-ldflags.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/files/spidermonkey-1.7.0-ldflags.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- spidermonkey-1.7.0-ldflags.patch	6 Aug 2010 23:15:48 -0000	1.1
+++ spidermonkey-1.7.0-ldflags.patch	21 Nov 2011 18:05:43 -0000	1.2
@@ -4,6 +4,15 @@
 
 --- js/src/Makefile.ref
 +++ js/src/Makefile.ref
+@@ -325,7 +325,7 @@
+ 	$(CC) -o $@ -c $(CFLAGS) $<
+ 
+ $(OBJDIR)/jskwgen$(HOST_BIN_SUFFIX): $(OBJDIR)/jskwgen.$(OBJ_SUFFIX)
+-	$(CC) -o $@ $(CFLAGS) $(LDFLAGS) $^
++	$(CC) $(HOST_LDFLAGS) -o $@ $^
+ 
+ endif
+ 
 @@ -338,7 +338,7 @@
  	link.exe -out:"$@" $(EXE_LINK_FLAGS) $^
  else






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-lang/spidermonkey/files: spidermonkey-1.7.0-ldflags.patch
@ 2011-11-21 19:50 Ian Stakenvicius (axs)
  0 siblings, 0 replies; 4+ messages in thread
From: Ian Stakenvicius (axs) @ 2011-11-21 19:50 UTC (permalink / raw
  To: gentoo-commits

axs         11/11/21 19:50:31

  Modified:             spidermonkey-1.7.0-ldflags.patch
  Log:
  fixed erroneous drop of CFLAGS from last patch update
  
  (Portage version: 2.1.10.11/cvs/Linux i686)

Revision  Changes    Path
1.3                  dev-lang/spidermonkey/files/spidermonkey-1.7.0-ldflags.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/spidermonkey/files/spidermonkey-1.7.0-ldflags.patch?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/spidermonkey/files/spidermonkey-1.7.0-ldflags.patch?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/spidermonkey/files/spidermonkey-1.7.0-ldflags.patch?r1=1.2&r2=1.3

Index: spidermonkey-1.7.0-ldflags.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/files/spidermonkey-1.7.0-ldflags.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- spidermonkey-1.7.0-ldflags.patch	21 Nov 2011 18:05:43 -0000	1.2
+++ spidermonkey-1.7.0-ldflags.patch	21 Nov 2011 19:50:31 -0000	1.3
@@ -9,7 +9,7 @@
  
  $(OBJDIR)/jskwgen$(HOST_BIN_SUFFIX): $(OBJDIR)/jskwgen.$(OBJ_SUFFIX)
 -	$(CC) -o $@ $(CFLAGS) $(LDFLAGS) $^
-+	$(CC) $(HOST_LDFLAGS) -o $@ $^
++	$(CC) $(HOST_LDFLAGS) -o $@ $(CFLAGS) $^
  
  endif
  






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-lang/spidermonkey/files: spidermonkey-1.7.0-ldflags.patch
@ 2011-11-24 21:45 Ian Stakenvicius (axs)
  0 siblings, 0 replies; 4+ messages in thread
From: Ian Stakenvicius (axs) @ 2011-11-24 21:45 UTC (permalink / raw
  To: gentoo-commits

axs         11/11/24 21:45:37

  Modified:             spidermonkey-1.7.0-ldflags.patch
  Log:
  modified ldflags patch to fix ldflags on bin/js, bug 391665
  
  (Portage version: 2.1.10.11/cvs/Linux i686)

Revision  Changes    Path
1.4                  dev-lang/spidermonkey/files/spidermonkey-1.7.0-ldflags.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/spidermonkey/files/spidermonkey-1.7.0-ldflags.patch?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/spidermonkey/files/spidermonkey-1.7.0-ldflags.patch?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/spidermonkey/files/spidermonkey-1.7.0-ldflags.patch?r1=1.3&r2=1.4

Index: spidermonkey-1.7.0-ldflags.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/files/spidermonkey-1.7.0-ldflags.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- spidermonkey-1.7.0-ldflags.patch	21 Nov 2011 19:50:31 -0000	1.3
+++ spidermonkey-1.7.0-ldflags.patch	24 Nov 2011 21:45:37 -0000	1.4
@@ -4,12 +4,21 @@
 
 --- js/src/Makefile.ref
 +++ js/src/Makefile.ref
+@@ -87,7 +87,7 @@
+ LDFLAGS                = $(XLDFLAGS)
+ 
+ ifndef NO_LIBM
+-LDFLAGS += -lm
++OTHER_LIBS += -lm
+ endif
+ 
+ # Prevent floating point errors caused by VC++ optimizations
 @@ -325,7 +325,7 @@
  	$(CC) -o $@ -c $(CFLAGS) $<
  
  $(OBJDIR)/jskwgen$(HOST_BIN_SUFFIX): $(OBJDIR)/jskwgen.$(OBJ_SUFFIX)
 -	$(CC) -o $@ $(CFLAGS) $(LDFLAGS) $^
-+	$(CC) $(HOST_LDFLAGS) -o $@ $(CFLAGS) $^
++	$(CC) $(HOST_LDFLAGS) -o $@ $(CFLAGS) $(OTHER_LIBS) $^
  
  endif
  
@@ -18,7 +27,7 @@
  else
  $(PROGRAM): $(PROG_OBJS) $(LIBRARY)
 -	$(CC) -o $@ $(CFLAGS) $(PROG_OBJS) $(LIBRARY) $(LDFLAGS) $(OTHER_LIBS) \
-+	$(CC) $(HOST_LDFLAGS) -o $@ $(CFLAGS) $(PROG_OBJS) $(LIBRARY) $(LDFLAGS) $(OTHER_LIBS) \
++	$(CC) $(HOST_LDFLAGS) -o $@ $(CFLAGS) $(PROG_OBJS) $(LIBRARY) $(OTHER_LIBS) \
  	    $(PROG_LIBS)
  endif
  






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-11-25  0:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-21 18:05 [gentoo-commits] gentoo-x86 commit in dev-lang/spidermonkey/files: spidermonkey-1.7.0-ldflags.patch Ian Stakenvicius (axs)
  -- strict thread matches above, loose matches on Subject: below --
2011-11-24 21:45 Ian Stakenvicius (axs)
2011-11-21 19:50 Ian Stakenvicius (axs)
2010-08-06 23:15 Markos Chandras (hwoarang)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox