Procházet zdrojové kódy

* Also for FreeBSD. Renamefest starting now.

marco před 25 roky
rodič
revize
8d5dbb0717
1 změnil soubory, kde provedl 6 přidání a 0 odebrání
  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