8001460: build-infra: Linker warnings on macosx
Summary: Remove creation of empty i386 section from fdlibm
Reviewed-by: ohair
--- 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)