Browse Source

* 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 years ago
parent
commit
b7dd63094f
2 changed files with 2 additions and 2 deletions
  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