瀏覽代碼

* arm uses the same approach as i386: during the final build of the rtl and the packages, the general dynamic tls model is selected

git-svn-id: trunk@43129 -
florian 5 年之前
父節點
當前提交
b7dd63094f
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Makefile
  2. 1 1
      Makefile.fpc

+ 1 - 1
Makefile

@@ -471,7 +471,7 @@ ifneq ($(OPT),)
 OPTNEW+=$(OPT)
 endif
 ifneq ($(findstring $(OS_TARGET),linux),)
-ifneq ($(findstring $(CPU_TARGET),i386),)
+ifneq ($(findstring $(CPU_TARGET),i386 arm),)
 override OPTNEW+=-CVgeneral-dynamic
 endif
 endif

+ 1 - 1
Makefile.fpc

@@ -201,7 +201,7 @@ 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),)
+ifneq ($(findstring $(CPU_TARGET),i386 arm),)
 override OPTNEW+=-CVgeneral-dynamic
 endif
 endif