8001460: build-infra: Linker warnings on macosx
authorerikj
Wed, 28 Nov 2012 13:20:43 +0100
changeset 14524 f2953186ad92
parent 14523 643702cd3aa8
child 14525 58044c98b2fb
8001460: build-infra: Linker warnings on macosx Summary: Remove creation of empty i386 section from fdlibm Reviewed-by: ohair
jdk/makefiles/CompileNativeLibraries.gmk
--- a/jdk/makefiles/CompileNativeLibraries.gmk	Wed Nov 28 09:47:25 2012 +0100
+++ b/jdk/makefiles/CompileNativeLibraries.gmk	Wed Nov 28 13:20:43 2012 +0100
@@ -104,7 +104,7 @@
 		LANG:=C,\
 		CFLAGS:=$(CFLAGS_JDKLIB) \
 			-I$(JDK_TOPDIR)/src/share/native/java/lang/fdlibm/include,\
-		LDFLAGS:=-nostdlib -r -arch i386 -arch x86_64,\
+		LDFLAGS:=-nostdlib -r -arch x86_64,\
 		OBJECT_DIR:=$(JDK_OUTPUTDIR)/objs/libfdlibm))
 
 $(JDK_OUTPUTDIR)/objs/$(LIBRARY_PREFIX)fdlibm$(STATIC_LIBRARY_SUFFIX) : $(BUILD_LIBFDLIBM)