Explorar o código

* Also for FreeBSD. Renamefest starting now.

marco %!s(int64=25) %!d(string=hai) anos
pai
achega
8d5dbb0717
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      compiler/Makefile.fpc

+ 6 - 0
compiler/Makefile.fpc

@@ -31,6 +31,12 @@ override FPCOPT+=-dUNIX
 endif
 endif
 
+ifeq ($(OS_TARGET),freebsd)
+ifneq ($(findstring 1.0.,$(FPC_VERSION)),)
+override FPCOPT+=-dUNIX
+endif
+endif
+
 # Don't export OS_SOURCE because it can change after the first compile
 unexport OS_SOURCE FPC_VERSION