mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 10:19:30 +02:00
* PIC does not require using the external assembler anymore
- removed 2.0.x-ism git-svn-id: trunk@21116 -
This commit is contained in:
parent
1345b7d107
commit
5966fcce74
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user