From 6bf46ea0baeeadb8a07e023e960ebb73fd5e6498 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Sun, 30 Apr 2006 23:11:52 +0000 Subject: [PATCH] Solaris changes. --- ext/f2c_libs/Makefile.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ext/f2c_libs/Makefile.in b/ext/f2c_libs/Makefile.in index aa3ff0528..fca7e8da9 100755 --- a/ext/f2c_libs/Makefile.in +++ b/ext/f2c_libs/Makefile.in @@ -24,6 +24,7 @@ CC = @CC@ SHELL = /bin/sh do_ranlib = @DO_RANLIB@ +do_stripsymbols = @HAVE_STRIPSYMBOLS@ CFLAGS = @CXXFLAGS@ $(CXX_OPT) @@ -36,8 +37,10 @@ F2C_H = $(BUILDINCDIR)/f2c.h # compile, then strip unnecessary symbols .c.o: f2c.h $(CC) -c -DSkip_f2c_Undefs $(CFLAGS) $*.c +ifeq ($(do_stripsymbols),yes) ld @ldemulationarg@ -r -x -o $*.xxx $*.o mv $*.xxx $*.o +endif ## Under Solaris (and other systems that do not understand ld -x), ## omit -x in the ld line above.