From fc1ed782322d8e21a8624d5ce57ea5a42ebe84cd Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Tue, 14 Dec 2021 21:58:24 +0000 Subject: [PATCH] Graph package fixes Fix aarch64-freebsd compilation failure by restricting graph unit to i8086/i386/x86_64 CPUs. Remove unneeded i386-linux special case. --- packages/graph/fpmake.pp | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/packages/graph/fpmake.pp b/packages/graph/fpmake.pp index 5424058298..dba23103d7 100644 --- a/packages/graph/fpmake.pp +++ b/packages/graph/fpmake.pp @@ -64,22 +64,8 @@ begin AddInclude('fills.inc'); AddInclude('gtext.inc'); end; - // Graph unit Linux/i386 - T:=P.Targets.AddUnit('graph.pp',[i386],[linux]); - with T.Dependencies do - begin - AddInclude('graphh.inc'); - AddInclude('graph.inc'); - AddInclude('fontdata.inc'); - AddInclude('clip.inc'); - AddInclude('palette.inc'); - AddInclude('modes.inc'); - AddInclude('fills.inc'); - AddInclude('gtext.inc'); - AddInclude('graph16.inc',[freebsd,linux]); - end; - // Graph unit other targets - T:=P.Targets.AddUnit('graph.pp',[go32v2,amiga,win32,win64,freebsd,msdos]); + // Graph unit, restricted to i8086, i386 and x86_64 CPUs + T:=P.Targets.AddUnit('graph.pp',[i8086,i386,x86_64],[go32v2,amiga,win32,win64,freebsd,linux,msdos]); with T.Dependencies do begin AddInclude('graphh.inc');