From 094a3035026b7d6aada958656859d31cc1385a72 Mon Sep 17 00:00:00 2001 From: david Date: Sat, 24 Sep 2011 04:10:53 +0000 Subject: [PATCH] Disable debugging for FPmodel.o, avoiding an assembler problem on AIX. --- Makefile.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.in b/Makefile.in index c849c8cb3..3a5444213 100644 --- a/Makefile.in +++ b/Makefile.in @@ -105,6 +105,11 @@ OBJS = main.o nmap.o targets.o tcpip.o nmap_error.o utils.o idle_scan.o osscan.o .cc.o: $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $< -o $@ +# FPmodel.cc contains large numeric tables that exceed the capacity of +# debugging output with GCC 4.6.0 on AIX, causing "Error: value of 121716 too +# large for field of 2 bytes". Disable debugging for this one file. +FPmodel.o: CXXFLAGS += -g0 + all: @LUA_BUILD@ @LIBLINEAR_BUILD@ @PCAP_BUILD@ @PCRE_BUILD@ @DNET_BUILD@ @NBASE_BUILD@ @NSOCK_BUILD@ @NCAT_BUILD@ netutil_build $(MAKE) $(TARGET) $(BUILDZENMAP) $(BUILDNDIFF) $(BUILDNPING)