* force pic'ed code on x86_64

git-svn-id: trunk@5829 -
This commit is contained in:
florian 2007-01-06 20:37:14 +00:00
parent db3f8575ae
commit fb22e83d89
2 changed files with 2351 additions and 2274 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1382,6 +1382,15 @@ endif
endif
# create always pic'ed code on x86_64
ifneq ($(findstring 2.0.,$(FPC_VERSION)),)
ifeq ($(OS_TARGET),linux)
ifeq ($(CPU_TARGET),x86_64)
override FPCOPT+=-Cg
endif
endif
endif
ifdef LINKSHARED
#!!! deactived for testing override FPCOPT+=-XD
endif