소스 검색

* only link libgcc for softfloat helpers on ARM if we are compiling for
softfloat

git-svn-id: trunk@20666 -

Jonas Maebe 13 년 전
부모
커밋
e13f9b5a2b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tests/test/cg/tcalext6.pp

+ 1 - 1
tests/test/cg/tcalext6.pp

@@ -14,7 +14,7 @@ program calext6;
   {$define NO_FLOAT}
   {$define NO_FLOAT}
 {$endif}
 {$endif}
 
 
-{$ifdef CPUARMEL}
+{$if defined(CPUARMEL) and defined(FPUSOFT)}
 { for softfloat calls in the C code }
 { for softfloat calls in the C code }
 {$linklib gcc}
 {$linklib gcc}
 {$endif}
 {$endif}