|
@@ -197,6 +197,15 @@ endif
|
|
|
ifneq ($(OPT),)
|
|
|
OPTNEW+=$(OPT)
|
|
|
endif
|
|
|
+
|
|
|
+# some targets do not generate PIC by default so we have select explicitly
|
|
|
+# the general threading model when compiling the final versions of rtl and packages
|
|
|
+ifneq ($(findstring $(OS_TARGET),linux),)
|
|
|
+ifneq ($(findstring $(CPU_TARGET),i386),)
|
|
|
+override OPTNEW+=-CVgeneral
|
|
|
+endif
|
|
|
+endif
|
|
|
+
|
|
|
CLEANOPTS=FPC=$(PPNEW)
|
|
|
BUILDOPTS=FPC=$(PPNEW) FPCFPMAKE=$(FPCFPMAKENEW) RELEASE=1 'OPT=$(OPTNEW)'
|
|
|
INSTALLOPTS=FPC=$(PPNEW) ZIPDESTDIR=$(BASEDIR) FPCMAKE=$(FPCMAKENEW)
|