* PIC does not require using the external assembler anymore

- removed 2.0.x-ism

git-svn-id: trunk@21116 -
This commit is contained in:
florian 2012-04-29 14:19:32 +00:00
parent 1345b7d107
commit 5966fcce74
2 changed files with 258 additions and 275 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1313,21 +1313,14 @@ endif
ifdef CREATESHARED
override FPCOPT+=-Cg
ifeq ($(CPU_TARGET),i386)
override FPCOPT+=-Aas
endif
endif
# create always pic'ed code on x86_64
ifeq ($(findstring 2.0.,$(FPC_VERSION)),)
ifneq ($(findstring $(OS_TARGET),freebsd openbsd netbsd linux solaris),)
ifeq ($(CPU_TARGET),x86_64)
override FPCOPT+=-Cg
endif
endif
endif
ifdef LINKSHARED
#!!! deactived for testing override FPCOPT+=-XD