Explorar o código

+ Add -Xd option for FreeBSD OS

git-svn-id: trunk@20859 -
pierre %!s(int64=13) %!d(string=hai) anos
pai
achega
e59d692c5c
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      ide/Makefile.fpc

+ 4 - 0
ide/Makefile.fpc

@@ -56,6 +56,7 @@ endif
 
 ifeq ($(OS_TARGET),freebsd)
 needusrlocallib=1
+neednostdlib=1
 endif
 ifeq ($(OS_TARGET),openbsd)
 needusrlocallib=1
@@ -68,6 +69,9 @@ endif
 ifdef needusrlocallib
 override SPECIALLINK+=-Fl/usr/local/lib
 endif
+ifdef neednostdlib
+override SPECIALLINK+=-Xd
+endif
 # Try to find GDB library
 # Look for a valid GDBLIBDIR environment variable
 ifdef GDBLIBDIR