From: <st...@us...> - 2011-04-03 09:25:11
|
Revision: 6665 http://xymon.svn.sourceforge.net/xymon/?rev=6665&view=rev Author: storner Date: 2011-04-03 09:25:05 +0000 (Sun, 03 Apr 2011) Log Message: ----------- Solaris Makefile: Drop guessing of what linker is being used, since we get it wrong too often. Modified Paths: -------------- trunk/build/Makefile.SunOS Modified: trunk/build/Makefile.SunOS =================================================================== --- trunk/build/Makefile.SunOS 2011-04-02 10:31:42 UTC (rev 6664) +++ trunk/build/Makefile.SunOS 2011-04-03 09:25:05 UTC (rev 6665) @@ -8,13 +8,17 @@ # Compile flags for normal build CC = gcc CFLAGS = -g -O2 -Wall -Wno-unused -D_REENTRANT $(LFSDEF) $(OSDEF) -LDTYPE := $(shell ld -V 2>&1|head -1|cut -d' ' -f1) -ifeq ($(LDTYPE),GNU) - RPATH=-Wl,--rpath, -else - RPATH=-Wl,-R -endif +# This guesswork doesnt work on a lot of systems. +# Better have a run-time issue that can easily be fixed with "crle" +# or by setting LD_LIBRARY_PATH, than a build-time problem. +#LDTYPE := $(shell ld -V 2>&1|head -1|cut -d' ' -f1) +#ifeq ($(LDTYPE),GNU) +# RPATH=-Wl,--rpath, +#else +# RPATH=-Wl,-R +#endif + # Compile flags for debugging # CFLAGS = -g -DDEBUG -Wall -D_REENTRANT $(LFSDEF) $(OSDEF) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |