fix linux 2.1 also

This commit is contained in:
ian.mcgreer%sun.com 2001-11-07 20:58:09 +00:00
parent 3c6918abcf
commit a070136acd

View File

@ -40,5 +40,10 @@ ifeq ($(OS_RELEASE),2.1)
ifdef BUILD_OPT ifdef BUILD_OPT
OPTIMIZER = -O2 OPTIMIZER = -O2
endif endif
ifdef MAPFILE
MKSHLIB += -Wl,--version-script,$(MAPFILE)
endif
PROCESS_MAP_FILE = grep -v ';-' $(LIBRARY_NAME).def | \
sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@
endif endif