mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-15 10:09:15 +02:00
* force pic'ed code on x86_64
git-svn-id: trunk@5829 -
This commit is contained in:
parent
db3f8575ae
commit
fb22e83d89
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user