|
@@ -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
|
|
|
|