harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r428139 - in /incubator/harmony/enhanced/classlib/trunk: depends/build/rules.mk modules/archive/src/main/native/zlib/linux/makefile
Date Wed, 02 Aug 2006 20:40:10 GMT
Author: geirm
Date: Wed Aug  2 13:40:10 2006
New Revision: 428139

URL: http://svn.apache.org/viewvc?rev=428139&view=rev
Log:
HARMONY-853

Switch how hyzlib is built for linux to get around segfault problems
people have been having.

I'm not 100% convinced here - it seems like 

Patient : "Doctor, it hurts when I life my arm..."
Doctor  : "Don't lift your arm"


Modified:
    incubator/harmony/enhanced/classlib/trunk/depends/build/rules.mk
    incubator/harmony/enhanced/classlib/trunk/modules/archive/src/main/native/zlib/linux/makefile

Modified: incubator/harmony/enhanced/classlib/trunk/depends/build/rules.mk
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/depends/build/rules.mk?rev=428139&r1=428138&r2=428139&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/depends/build/rules.mk (original)
+++ incubator/harmony/enhanced/classlib/trunk/depends/build/rules.mk Wed Aug  2 13:40:10 2006
@@ -28,7 +28,7 @@
 	-Wl,-soname=$(@F) $(VMLINK) -o $@ \
 	$(BUILDFILES) $(SYSLIBFILES) \
 	-Xlinker --start-group $(MDLLIBFILES) -Xlinker --end-group \
-	-lc -lm -ldl
+	-lc -lm -ldl $(LDFLAGS)
 
 $(EXENAME): $(BUILDFILES) $(MDLLIBFILES)
 	$(CC) $(VMLINK) \

Modified: incubator/harmony/enhanced/classlib/trunk/modules/archive/src/main/native/zlib/linux/makefile
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/archive/src/main/native/zlib/linux/makefile?rev=428139&r1=428138&r2=428139&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/archive/src/main/native/zlib/linux/makefile
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/archive/src/main/native/zlib/linux/makefile
Wed Aug  2 13:40:10 2006
@@ -29,4 +29,6 @@
 
 DLLNAME = ../libhyzlib.so
 
+LDFLAGS = -Wl,-Bsymbolic
+
 include $(HY_HDK)/build/make/rules.mk



Mime
View raw message