Browse Source

Add aix specific options for old Makefile.fpc.fpcmake

git-svn-id: trunk@27628 -
pierre 11 years ago
parent
commit
98c7d43c57
1 changed files with 8 additions and 0 deletions
  1. 8 0
      ide/Makefile.fpc.fpcmake

+ 8 - 0
ide/Makefile.fpc.fpcmake

@@ -66,6 +66,9 @@ endif
 ifeq ($(OS_TARGET),netbsd)
 ifeq ($(OS_TARGET),netbsd)
 neednostdlib=1
 neednostdlib=1
 endif
 endif
+ifeq ($(OS_TARGET),aix)
+neednostdlib=1
+endif
 
 
 ifdef needlinkparam
 ifdef needlinkparam
 override SPECIALLINK=-Xe -k--allow-multiple-definition
 override SPECIALLINK=-Xe -k--allow-multiple-definition
@@ -80,6 +83,11 @@ endif
 ifdef neednostdlib
 ifdef neednostdlib
 override SPECIALLINK+=-Xd
 override SPECIALLINK+=-Xd
 endif
 endif
+
+ifeq ($(OS_TARGET),aix)
+override SPECIALLINK+=6fl/opt/freeware/lib -k-bbigtoc
+endif
+
 # Try to find GDB library
 # Try to find GDB library
 # Look for a valid GDBLIBDIR environment variable
 # Look for a valid GDBLIBDIR environment variable
 ifdef GDBLIBDIR
 ifdef GDBLIBDIR