Browse Source

+ Add -Xd option for FreeBSD OS

git-svn-id: trunk@20859 -
pierre 13 years ago
parent
commit
e59d692c5c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      ide/Makefile.fpc

+ 4 - 0
ide/Makefile.fpc

@@ -56,6 +56,7 @@ endif
 
 
 ifeq ($(OS_TARGET),freebsd)
 ifeq ($(OS_TARGET),freebsd)
 needusrlocallib=1
 needusrlocallib=1
+neednostdlib=1
 endif
 endif
 ifeq ($(OS_TARGET),openbsd)
 ifeq ($(OS_TARGET),openbsd)
 needusrlocallib=1
 needusrlocallib=1
@@ -68,6 +69,9 @@ endif
 ifdef needusrlocallib
 ifdef needusrlocallib
 override SPECIALLINK+=-Fl/usr/local/lib
 override SPECIALLINK+=-Fl/usr/local/lib
 endif
 endif
+ifdef neednostdlib
+override SPECIALLINK+=-Xd
+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