소스 검색

* force PIC on x86_64

git-svn-id: trunk@1741 -
florian 20 년 전
부모
커밋
d06bdbba13
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      tests/test/tlibrary1.pp

+ 5 - 1
tests/test/tlibrary1.pp

@@ -1,6 +1,10 @@
 { %NORUN }
 { %SKIPTARGET=macos }
 
+{$ifdef CPUX86_64}
+{$PIC+}
+{$endif CPUX86_64}
+
 { The .so of the library needs to be in the current dir when
   testing the loading at runtime }
 
@@ -26,7 +30,7 @@ const
 procedure Test;export;
 
  begin
-   writeln('Hoi');
+//   writeln('Hoi');
  end;
 
 exports