mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-01 02:59:33 +01:00
Use "-K PIC" for assembler call if pic mode is selected
git-svn-id: trunk@22479 -
This commit is contained in:
parent
141b1340fb
commit
543cf7e78b
@ -134,6 +134,15 @@ ifeq ($(ARCH),mipsel)
|
|||||||
ASTARGET=-EL
|
ASTARGET=-EL
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(ARCH),sparc)
|
||||||
|
ifneq ($(findstring -Cg ,$(COMPILER)),)
|
||||||
|
ASTARGET+=-K PIC --defsym PIC=1
|
||||||
|
endif
|
||||||
|
ifneq ($(findstring -fPIC ,$(COMPILER)),)
|
||||||
|
ASTARGET+=-K PIC --defsym PIC=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
#
|
#
|
||||||
# Loaders
|
# Loaders
|
||||||
#
|
#
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user